Sha256: e1c69c25a842f84843fd88c84c78a20e09f07331a7f73b35ce088f17880590fc
Contents?: true
Size: 660 Bytes
Versions: 20
Compression:
Stored size: 660 Bytes
Contents
# == Schema Information # # Table name: admin_users # # id :integer not null, primary key # email :string(255) not null # crypted_password :string(255) not null # salt :string(255) not null # created_at :datetime # updated_at :datetime # remember_me_token :string(255) # remember_me_token_expires_at :datetime # class Admin::User < ActiveRecord::Base authenticates_with_sorcery! validates :email, presence: true def to_ember_hash { id: id, email: email } end end
Version data entries
20 entries across 20 versions & 1 rubygems