Sha256: 338c9d704a495b30f879e35b4ce76c25abbde49163b71404698d739c8d81f27a
Contents?: true
Size: 401 Bytes
Versions: 12
Compression:
Stored size: 401 Bytes
Contents
class LegacyUser < ActiveRecord::Base devise :openid_authenticatable, :rememberable def self.create_from_identity_url(identity_url) create do |user| user.identity_url = identity_url end 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