1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Minor copy editing

This commit is contained in:
mhutchin 2011-10-09 15:56:01 -07:00
parent c2f03d19c2
commit 5f632a88a6

View file

@ -1551,7 +1551,7 @@ The <tt><em>collection</em>.find</tt> method finds objects within the collection
:conditions => ["created_at > ?", 2.days.ago]) :conditions => ["created_at > ?", 2.days.ago])
</ruby> </ruby>
NOTE: Starting Rails 3, supplying options to +ActiveRecord::Base.find+ method is discouraged. Use <tt><em>collection</em>.where</tt> instead when you need to pass conditions. NOTE: Beginning with Rails 3, supplying options to the +ActiveRecord::Base.find+ method is discouraged. Use <tt><em>collection</em>.where</tt> instead when you need to pass conditions.
h6(#has_and_belongs_to_many-collection-where). <tt><em>collection</em>.where(...)</tt> h6(#has_and_belongs_to_many-collection-where). <tt><em>collection</em>.where(...)</tt>