diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-07 15:23:50 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-07 15:25:16 -0800 |
commit | d6133209ce54bac430e63ec512251eae182b79e1 (patch) | |
tree | 0189169290d9b5dd32a72ab19bb8a0e380bb1583 /activerecord/lib/active_record/associations | |
parent | ddbd2039615ca4376a46a97a17612732f24568cd (diff) | |
download | rails-d6133209ce54bac430e63ec512251eae182b79e1.tar.gz rails-d6133209ce54bac430e63ec512251eae182b79e1.tar.bz2 rails-d6133209ce54bac430e63ec512251eae182b79e1.zip |
arel is lazy about column information, so no need to pass it around
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/class_methods/join_dependency/join_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/class_methods/join_dependency/join_base.rb b/activerecord/lib/active_record/associations/class_methods/join_dependency/join_base.rb index 97003c1457..67567f06df 100644 --- a/activerecord/lib/active_record/associations/class_methods/join_dependency/join_base.rb +++ b/activerecord/lib/active_record/associations/class_methods/join_dependency/join_base.rb @@ -13,7 +13,7 @@ module ActiveRecord end def table - Arel::Table.new(table_name, :engine => arel_engine, :columns => active_record.columns) + Arel::Table.new(table_name, arel_engine) end def aliased_table_name |