class Cms::Fortress::User < ActiveRecord::Base # set_table_name :cms_fortress_users self.table_name = "cms_fortress_users" # Include default devise modules. Others available are: # :token_authenticatable, :confirmable, # :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable # Setup accessible (or protected) attributes for your model # TODO: remove this deprecation # attr_accessible :email, :password, :password_confirmation, :remember_me, :role_id # attr_accessible :title, :body belongs_to :role end