Is validates_presence_of() deprecated in Rails 3?

Just wondering if validates_presence_of() has been deprecated in
favour of validates(:name, :presence => true) or we can prefer to use
any?
Asking so, since NetBeans 6.9 shows a deprecation warning, however I
can not find any such deprecation message in documentations/code of
Rails 3.0.0.beta4 and on web.

Just wondering if validates_presence_of() has been deprecated in

favour of validates(:name, :presence => true) or we can prefer to use

any?

Asking so, since NetBeans 6.9 shows a deprecation warning, however I

can not find any such deprecation message in documentations/code of

Rails 3.0.0.beta4 and on web.

Hi, you might want to check the documentation for Rails 3 API instead of relying

on NetBeans to provide this up to date information. Here’s the current docs for

this validation method:

http://guides.rails.info/active_record_validations_callbacks.html#validates-presence-of

Good luck,

-Conrad