From e82a417874adbc688cf84bdcb95fdd5d25489312 Mon Sep 17 00:00:00 2001 From: Stella Rouzi Date: Wed, 30 Jul 2014 20:01:35 +0300 Subject: [PATCH] style fixes --- db/migrate/20140717110124_delete_events_without_user.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/migrate/20140717110124_delete_events_without_user.rb b/db/migrate/20140717110124_delete_events_without_user.rb index 82cf5611..c4435af2 100644 --- a/db/migrate/20140717110124_delete_events_without_user.rb +++ b/db/migrate/20140717110124_delete_events_without_user.rb @@ -1,5 +1,4 @@ class DeleteEventsWithoutUser < ActiveRecord::Migration - class TempEvent < ActiveRecord::Base self.table_name = 'events' end @@ -32,6 +31,6 @@ class DeleteEventsWithoutUser < ActiveRecord::Migration end 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