style fixes

This commit is contained in:
Stella Rouzi 2014-07-30 20:01:35 +03:00
parent 6827f45d60
commit e82a417874

View file

@ -1,5 +1,4 @@
class DeleteEventsWithoutUser < ActiveRecord::Migration class DeleteEventsWithoutUser < ActiveRecord::Migration
class TempEvent < ActiveRecord::Base class TempEvent < ActiveRecord::Base
self.table_name = 'events' self.table_name = 'events'
end end
@ -32,6 +31,6 @@ class DeleteEventsWithoutUser < ActiveRecord::Migration
end end
def down def down
raise ActiveRecord::IrreversibleMigration, 'Cannot reverse migration. Events deleted cannot be re-created' raise ActiveRecord::IrreversibleMigration.new('Cannot reverse migration. Events deleted cannot be re-created')
end end
end end