2014-04-08 19:27:38 +00:00
|
|
|
class User < ActiveRecord::Base
|
|
|
|
# Include default devise modules. Others available are:
|
|
|
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
2014-04-08 21:42:43 +00:00
|
|
|
# before_save :ensure_authentication_token
|
2014-04-08 19:27:38 +00:00
|
|
|
|
|
|
|
devise :database_authenticatable, :registerable,
|
|
|
|
:recoverable, :rememberable, :trackable, :validatable
|
|
|
|
|
|
|
|
|
|
|
|
end
|