Permalink
Browse files

r3118@asus: jeremy | 2005-11-16 00:32:48 -0800

 correct prefetch_primary_key? table_name param


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9cb02c5 commit 4cd89102793b448ec8aedd89214e58bada114c9d @jeremy jeremy committed Nov 16, 2005
@@ -49,7 +49,7 @@ def supports_migrations?
# sequence before the insert statement? If true, next_sequence_value
# is called before each insert to set the record's primary key.
# This is false for all adapters but Firebird.
- def prefetch_primary_key?
+ def prefetch_primary_key?(table_name = nil)
false
end
@@ -258,7 +258,7 @@ def adapter_name # :nodoc:
# Returns true for Firebird adapter (since Firebird requires primary key
# values to be pre-fetched before insert). See also #next_sequence_value.
- def prefetch_primary_key?
+ def prefetch_primary_key?(table_name = nil)
true
end

0 comments on commit 4cd8910

Please sign in to comment.