From fbedb1806047513455f0c54c71e841e3c6a1d623 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Fri, 13 Apr 2012 17:44:39 +0200 Subject: First devise integration. Refs #7 --- app/models/user.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/models/user.rb (limited to 'app/models') diff --git a/app/models/user.rb b/app/models/user.rb new file mode 100644 index 000000000..b2f7c8ec9 --- /dev/null +++ b/app/models/user.rb @@ -0,0 +1,9 @@ +class User < ActiveRecord::Base + # Include default devise modules. Others available are: + # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable + devise :database_authenticatable, :registerable, + :recoverable, :rememberable, :trackable, :validatable + + # Setup accessible (or protected) attributes for your model + attr_accessible :email, :password, :password_confirmation, :remember_me +end -- cgit v1.2.3