[Rails] 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.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home