diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-10 15:29:38 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-12-10 15:29:38 -0300 |
commit | c720ff75d8c3512feed4f80635ebc3e0ed7abcc6 (patch) | |
tree | 02bf282f6081b4de94c6476b1c040484854ceff3 | |
parent | 86e1f45c93114fe44e88cb4c6aa61fbe4836bf72 (diff) | |
download | rails-c720ff75d8c3512feed4f80635ebc3e0ed7abcc6.tar.gz rails-c720ff75d8c3512feed4f80635ebc3e0ed7abcc6.tar.bz2 rails-c720ff75d8c3512feed4f80635ebc3e0ed7abcc6.zip |
Remove warning of unused variable
-rw-r--r-- | activerecord/test/cases/calculations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb index ab573d8cc8..f931b39998 100644 --- a/activerecord/test/cases/calculations_test.rb +++ b/activerecord/test/cases/calculations_test.rb @@ -500,7 +500,7 @@ class CalculationsTest < ActiveRecord::TestCase end def test_pluck_not_auto_table_name_prefix_if_column_joined - c = Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)]) + Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)]) assert_equal [7], Company.joins(:contracts).pluck(:developer_id).map(&:to_i) end end |