Sha256: 9e025b98b91c71f3ca373e60492a217446c690b6e80c358169ccef1a82b53ea2
Contents?: true
Size: 666 Bytes
Versions: 5
Compression:
Stored size: 666 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 module ClassMethods # A convenience method that receives both parameters and session to # initialize an 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
5 entries across 5 versions & 5 rubygems