instance method
take
Ruby on Rails 4.2.9
Since v4.1.16Signature
take(n = nil)
No documentation comment.
Parameters
-
nopt = nil
Source
# File activerecord/lib/active_record/associations/collection_proxy.rb, line 230
def take(n = nil)
@association.take(n)
end
Defined in activerecord/lib/active_record/associations/collection_proxy.rb line 230
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Associations::CollectionProxy