method

first

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: DisableJoinsAssociationRelation
first(limit = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/disable_joins_association_relation.rb, line 17
    def first(limit = nil)
      if limit
        records.limit(limit).first
      else
        records.first
      end
    end
Register or log in to add new notes.