Ability to block user

This commit is contained in:
randx 2012-04-13 08:12:34 +03:00
parent fb6d4511a0
commit 497ee5fbbc
9 changed files with 60 additions and 25 deletions

View file

@ -0,0 +1,5 @@
class AddBlockedFieldToUser < ActiveRecord::Migration
def change
add_column :users, :blocked, :boolean, :null => false, :default => false
end
end