diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-14 13:11:24 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-14 13:11:24 -0800 |
commit | 92499b3c7e0343dcc89567f96178d1000b593333 (patch) | |
tree | 0d708072006708878f2f259bf6ad9da387557a78 | |
parent | 1e9685f15921d1acec65d07a27640aa1c674a29b (diff) | |
download | rails-92499b3c7e0343dcc89567f96178d1000b593333.tar.gz rails-92499b3c7e0343dcc89567f96178d1000b593333.tar.bz2 rails-92499b3c7e0343dcc89567f96178d1000b593333.zip |
Arel::Table.engine will be deprecated, so stop using it
-rw-r--r-- | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index dde52269d4..47dc2d4a3a 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -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 |