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:
parent
c2f03d19c2
commit
5f632a88a6
1 changed files with 1 additions and 1 deletions
|
@ -1551,7 +1551,7 @@ The <tt><em>collection</em>.find</tt> method finds objects within the collection
|
|||
:conditions => ["created_at > ?", 2.days.ago])
|
||||
</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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue