From c6d6bd6ab48c999c46e3944bd037f6b34f55fa93 Mon Sep 17 00:00:00 2001 From: Andrew8xx8 <avk@8xx8.ru> Date: Tue, 5 Mar 2013 14:29:44 +0400 Subject: [PATCH] Typo fixed --- db/migrate/20130304104740_convert_blocked_to_state.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20130304104740_convert_blocked_to_state.rb b/db/migrate/20130304104740_convert_blocked_to_state.rb index 91c65d4fd39..e8d5257ac96 100644 --- a/db/migrate/20130304104740_convert_blocked_to_state.rb +++ b/db/migrate/20130304104740_convert_blocked_to_state.rb @@ -8,7 +8,7 @@ class ConvertBlockedToState < ActiveRecord::Migration def down User.transaction do - User.where(satate: :blocked).update_all(blocked: :true) + User.where(state: :blocked).update_all(blocked: :true) end end end -- 2.30.9