diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-27 21:05:11 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-27 21:05:11 -0700 |
commit | fe9d7abb3983605464b74aab58a25beeb40d7d78 (patch) | |
tree | aa24e7ef616603913e092effbafe0238b7a0900f /activerecord/lib/active_record | |
parent | 9d109302f139a23d18de605454074777b995e4c4 (diff) | |
download | rails-fe9d7abb3983605464b74aab58a25beeb40d7d78.tar.gz rails-fe9d7abb3983605464b74aab58a25beeb40d7d78.tar.bz2 rails-fe9d7abb3983605464b74aab58a25beeb40d7d78.zip |
slight performance improvement when grabbing an arel table
Diffstat (limited to 'activerecord/lib/active_record')
-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 5898ec3732..391c287fe4 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -803,7 +803,7 @@ module ActiveRecord #:nodoc: end def arel_table - @arel_table ||= Arel::Table.new(table_name, :engine => arel_engine) + @arel_table ||= Arel::Table.new(table_name, arel_engine) end def arel_engine |