Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b6aaa0310a
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (8 sloc) 0.28 kb
class User < ActiveRecord::Base
authenticates_with_sorcery!
attr_accessible :email, :password, :password_confirmation
validates_confirmation_of :password
validates_presence_of :password, :on => :create
validates_presence_of :email
validates_uniqueness_of :email
end
Jump to Line
Something went wrong with that request. Please try again.