Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Arel::Table.engine will be deprecated, so stop using it

  • Loading branch information...
commit 92499b3c7e0343dcc89567f96178d1000b593333 1 parent 1e9685f
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/base.rb
View
2  activerecord/lib/active_record/base.rb
@@ -829,7 +829,7 @@ def arel_table
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
Please sign in to comment.
Something went wrong with that request. Please try again.