mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Arel::Table.engine will be deprecated, so stop using it
This commit is contained in:
parent
1e9685f159
commit
92499b3c7e
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ module ActiveRecord #:nodoc:
|
|||
def arel_engine
|
||||
@arel_engine ||= begin
|
||||
if self == ActiveRecord::Base
|
||||
Arel::Table.engine
|
||||
ActiveRecord::Base
|
||||
else
|
||||
connection_handler.connection_pools[name] ? self : superclass.arel_engine
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue