aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-10-26 13:29:39 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-10-26 13:43:06 -0700
commitc376fd488c64dd2241fa8bec18bb712105e0e1b3 (patch)
treef171777a9de3e8d841af0004c5708a0ffcdecff9 /activerecord
parentf61f75876136f80b455bad0d5274190a3f9df290 (diff)
downloadrails-c376fd488c64dd2241fa8bec18bb712105e0e1b3.tar.gz
rails-c376fd488c64dd2241fa8bec18bb712105e0e1b3.tar.bz2
rails-c376fd488c64dd2241fa8bec18bb712105e0e1b3.zip
Revert "removing unused variable"
This reverts commit 3e4ede81d6b1ff3ea89eca33715a5a0d2f524dcf.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/schema_dumper.rb2
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 ba3dd49e7e..e30b481fe1 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 = @connection.pk_and_sequence_for(table).first
+ pk, pk_seq = @connection.pk_and_sequence_for(table)
elsif @connection.respond_to?(:primary_key)
pk = @connection.primary_key(table)
end