instance method
arel
Ruby on Rails 4.0.13
Since v3.0.20 Last seen in v4.0.13Signature
arel()
Returns the Arel object associated with the relation.
Source
# File activerecord/lib/active_record/relation/query_methods.rb, line 807
def arel
@arel ||= with_default_scope.build_arel
end
Defined in activerecord/lib/active_record/relation/query_methods.rb line 807
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::QueryMethods