method
relation
v3.0.0 -
Show latest stable
- Class:
ActiveRecord::Base
relation(#:nodoc:)private
No documentation available.
# File activerecord/lib/active_record/base.rb, line 895
def relation #:nodoc:
@relation ||= Relation.new(self, arel_table)
finder_needs_type_condition? ? @relation.where(type_condition) : @relation
end