Sha256: d02c8751bcb77bca99f1763519db9de8e3a1951a0f9aa24114c4dc0429f56325
Contents?: true
Size: 400 Bytes
Versions: 12
Compression:
Stored size: 400 Bytes
Contents
class DatabaseUser < ActiveRecord::Base devise :database_authenticatable, :openid_authenticatable, :validatable def self.build_from_identity_url(identity_url) new(:identity_url => identity_url) end def self.openid_required_fields ["http://axschema.org/contact/email"] end def openid_fields=(fields) self.email = fields["http://axschema.org/contact/email"].first end end
Version data entries
12 entries across 12 versions & 1 rubygems