Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove warning of unused variable

  • Loading branch information...
commit c720ff75d8c3512feed4f80635ebc3e0ed7abcc6 1 parent 86e1f45
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/calculations_test.rb
View
2  activerecord/test/cases/calculations_test.rb
@@ -500,7 +500,7 @@ def test_pluck_auto_table_name_prefix
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

1 comment on commit c720ff7

Please sign in to comment.
Something went wrong with that request. Please try again.