Commit c6d6bd6ab48c999c46e3944bd037f6b34f55fa93
1 parent
0d9a6fe7
Exists in
master
and in
4 other branches
Typo fixed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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 |