Skip to content
Browse files

Building scenario should not kill migrations state.

  • Loading branch information...
1 parent 4be4b12 commit 0cde8b5229a606e7c54b475b9ac1b51e3d8017cc @mediogre mediogre committed May 16, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/scenario_builder.rb
View
2 lib/scenario_builder.rb
@@ -79,7 +79,7 @@ def surface_errors
end
def delete_tables
- ActiveRecord::Base.connection.tables.each { |t| ActiveRecord::Base.connection.delete(@@delete_sql % t) }
+ tables.each { |t| ActiveRecord::Base.connection.delete(@@delete_sql % t) }
end
def tables

0 comments on commit 0cde8b5

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