From d98cb8ccffc96b757d215ae07be5b44ee5491ea7 Mon Sep 17 00:00:00 2001 From: Stella Rouzi Date: Tue, 29 Jul 2014 23:01:02 +0300 Subject: [PATCH] fix style --- db/migrate/20140717110124_delete_events_without_user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20140717110124_delete_events_without_user.rb b/db/migrate/20140717110124_delete_events_without_user.rb index 751d2f3a..d21a7a47 100644 --- a/db/migrate/20140717110124_delete_events_without_user.rb +++ b/db/migrate/20140717110124_delete_events_without_user.rb @@ -40,6 +40,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. Deleted events cannot be re-created') end end