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