Sha256: feafc1ffe932a6dd9303b506dc30420088d3a9aea01d0a5bea73e40e54f43f4e
Contents?: true
Size: 725 Bytes
Versions: 87
Compression:
Stored size: 725 Bytes
Contents
module Devise module Models # Registerable is responsible for everything related to registering a new # resource (ie user sign up). module Registerable extend ActiveSupport::Concern def self.required_fields(klass) [] end module ClassMethods # A convenience method that receives both parameters and session to # initialize a user. This can be used by OAuth, for example, to send # in the user token and be stored on initialization. # # By default discards all information sent by the session by calling # new with params. def new_with_session(params, session) new(params) end end end end end
Version data entries
87 entries across 87 versions & 14 rubygems