Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

AR: fixed postgres fixture tests [#4519 state:resolved]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
commit 256a15c23581865559cc758c2e377cd395cc05b3 1 parent 1b33a15
@e2 e2 authored jeremy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/fixtures.rb
View
2  activerecord/lib/active_record/fixtures.rb
@@ -516,7 +516,7 @@ def self.create_fixtures(fixtures_directory, table_names, class_names = {})
# Cap primary key sequences to max(pk).
if connection.respond_to?(:reset_pk_sequence!)
table_names.each do |table_name|
- connection.reset_pk_sequence!(table_name)
+ connection.reset_pk_sequence!(table_name.tr('/', '_'))
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.