instance method
third
Ruby on Rails 4.1.16
Since v4.1.16Signature
third(*args)
Same as first except returns only the third record.
Parameters
-
argsrest
Source
# File activerecord/lib/active_record/associations/collection_proxy.rb, line 179
def third(*args)
@association.third(*args)
end
Defined in activerecord/lib/active_record/associations/collection_proxy.rb line 179
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Associations::CollectionProxy