Commit c6d6bd6ab48c999c46e3944bd037f6b34f55fa93

Authored by Andrew8xx8
1 parent 0d9a6fe7

Typo fixed

db/migrate/20130304104740_convert_blocked_to_state.rb
@@ -8,7 +8,7 @@ class ConvertBlockedToState < ActiveRecord::Migration @@ -8,7 +8,7 @@ class ConvertBlockedToState < ActiveRecord::Migration
8 8
9 def down 9 def down
10 User.transaction do 10 User.transaction do
11 - User.where(satate: :blocked).update_all(blocked: :true) 11 + User.where(state: :blocked).update_all(blocked: :true)
12 end 12 end
13 end 13 end
14 end 14 end