method

arel_engine

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Base
arel_engine() 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/base.rb, line 853
      def arel_engine
        @arel_engine ||= begin
          if self == ActiveRecord::Base
            Arel::Table.engine
          else
            connection_handler.connection_pools[name] ? Arel::Sql::Engine.new(self) : superclass.arel_engine
          end
        end
      end
Register or log in to add new notes.