class method
self.arel_engine
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.2.22.5Signature
self.arel_engine()
No documentation comment.
Source
# File activerecord/lib/active_record/base.rb, line 859
def arel_engine
@arel_engine ||= begin
if self == ActiveRecord::Base
Arel::Table.engine
else
connection_handler.connection_pools[name] ? self : superclass.arel_engine
end
end
end
Defined in activerecord/lib/active_record/base.rb line 859
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Base