diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-23 20:15:47 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-23 20:29:46 -0700 |
commit | 3e4ede81d6b1ff3ea89eca33715a5a0d2f524dcf (patch) | |
tree | 3ef0e056e3c9b05d7e218a95db0c4ef786fb2c3e /activerecord/lib | |
parent | b0aae2842275427b3842ca99d2d56c3fb96f8f6d (diff) | |
download | rails-3e4ede81d6b1ff3ea89eca33715a5a0d2f524dcf.tar.gz rails-3e4ede81d6b1ff3ea89eca33715a5a0d2f524dcf.tar.bz2 rails-3e4ede81d6b1ff3ea89eca33715a5a0d2f524dcf.zip |
removing unused variable
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/schema_dumper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb index e30b481fe1..ba3dd49e7e 100644 --- a/activerecord/lib/active_record/schema_dumper.rb +++ b/activerecord/lib/active_record/schema_dumper.rb @@ -83,7 +83,7 @@ HEADER # first dump primary key column if @connection.respond_to?(:pk_and_sequence_for) - pk, pk_seq = @connection.pk_and_sequence_for(table) + pk = @connection.pk_and_sequence_for(table).first elsif @connection.respond_to?(:primary_key) pk = @connection.primary_key(table) end |