diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-11-14 15:34:07 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-11-14 15:34:07 -0200 |
commit | bc556a21e2d5722f42dfac810c04d453076e09fb (patch) | |
tree | 28ba984c27aababf006125a6e66d7460043f34a0 | |
parent | 93c9f4a942c622ecbe8d46ab4838bd072aef9fc0 (diff) | |
download | rails-bc556a21e2d5722f42dfac810c04d453076e09fb.tar.gz rails-bc556a21e2d5722f42dfac810c04d453076e09fb.tar.bz2 rails-bc556a21e2d5722f42dfac810c04d453076e09fb.zip |
Remove unused var
-rw-r--r-- | activerecord/lib/active_record/associations/has_many_through_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/has_many_through_association.rb b/activerecord/lib/active_record/associations/has_many_through_association.rb index 0a5858f36e..79c229d9c4 100644 --- a/activerecord/lib/active_record/associations/has_many_through_association.rb +++ b/activerecord/lib/active_record/associations/has_many_through_association.rb @@ -68,7 +68,7 @@ module ActiveRecord end through_association = @owner.send(@reflection.through_reflection.name) - through_record = through_association.create!(construct_join_attributes(record)) + through_association.create!(construct_join_attributes(record)) end # TODO - add dependent option support |