lib/tasks/zena.rake in zena-1.0.0.rc1 vs lib/tasks/zena.rake in zena-1.0.0.rc2

- old
+ new

@@ -271,10 +271,10 @@ # Always end with app migrations bricks += %w{_app} paths['_app'] = "#{RAILS_ROOT}/db/migrate" bricks.each do |brick_name, path| - Zena::Migrator.migrate(paths[brick_name], brick_name, nil) + Zena::Migrator.migrate(paths[brick_name], brick_name == '_app' ? nil : brick_name, nil) end #ActiveRecord::Migrator.migrate("db/migrate/", nil) end Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby end