class method
self.arel_engine
Ruby on Rails 3.2.22.5
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 440
def arel_engine
@arel_engine ||= begin
if self == ActiveRecord::Base
ActiveRecord::Base
else
connection_handler.retrieve_connection_pool(self) ? self : superclass.arel_engine
end
end
end
Defined in activerecord/lib/active_record/base.rb line 440
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Base