Add active status to user show/edit.

This commit is contained in:
Matthew Shepard
2012-10-16 22:59:35 -07:00
parent 4ad622e906
commit 0b5978d4ef
4 changed files with 14 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ class User < ActiveRecord::Base
:recoverable, :rememberable, :trackable, :validatable
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :password, :password_confirmation, :remember_me, :name, :admin
attr_accessible :email, :password, :password_confirmation, :remember_me, :name, :admin, :active
has_many :cards
end