diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-01-26 22:40:05 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-01-30 11:58:09 +0000 |
commit | c5e912a8b38bc3555385e43a052a8d3eb0541ff3 (patch) | |
tree | 5213f25202a3583380cf125e3f6d035369cbd121 /activerecord/lib | |
parent | 59d54c3ebaa08c3298a36d1655a2492074ed8a87 (diff) | |
download | rails-c5e912a8b38bc3555385e43a052a8d3eb0541ff3.tar.gz rails-c5e912a8b38bc3555385e43a052a8d3eb0541ff3.tar.bz2 rails-c5e912a8b38bc3555385e43a052a8d3eb0541ff3.zip |
@join_table_name is no longer used
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb b/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb index 6ca287a4e3..3329a4af8e 100644 --- a/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +++ b/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb @@ -5,8 +5,7 @@ module ActiveRecord attr_reader :join_table def initialize(owner, reflection) - @join_table_name = reflection.options[:join_table] - @join_table = Arel::Table.new(@join_table_name) + @join_table = Arel::Table.new(reflection.options[:join_table]) super end |