method

arel_engine

arel_engine()
public

No documentation available.

# 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