aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-30 16:28:12 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-30 16:28:12 -0700
commit45edeed1ee5148e837ea9680fa0c40e4b151d6d7 (patch)
treefb22f857ed5509d538d900f11aa311c15dd25ddc /activerecord/lib/active_record.rb
parent0238228e5d3ce1747a6f1d618693ffd44f947561 (diff)
downloadrails-45edeed1ee5148e837ea9680fa0c40e4b151d6d7.tar.gz
rails-45edeed1ee5148e837ea9680fa0c40e4b151d6d7.tar.bz2
rails-45edeed1ee5148e837ea9680fa0c40e4b151d6d7.zip
Arel::Sql::Engine.new does not do anything anymore
Diffstat (limited to 'activerecord/lib/active_record.rb')
-rw-r--r--activerecord/lib/active_record.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb
index e2f2508ae8..f692e5ac89 100644
--- a/activerecord/lib/active_record.rb
+++ b/activerecord/lib/active_record.rb
@@ -118,7 +118,7 @@ module ActiveRecord
end
ActiveSupport.on_load(:active_record) do
- Arel::Table.engine = Arel::Sql::Engine.new(self)
+ Arel::Table.engine = self
end
I18n.load_path << File.dirname(__FILE__) + '/active_record/locale/en.yml'