Module: Devise::Orm::ActiveRecord::Schema
- Includes:
- Schema
- Defined in:
- lib/devise/orm/active_record.rb
Instance Method Summary collapse
-
#apply_devise_schema(name, type, options = {}) ⇒ Object
Tell how to apply schema methods.
Methods included from Schema
#authenticatable, #confirmable, #database_authenticatable, #lockable, #recoverable, #rememberable, #token_authenticatable, #trackable
Instance Method Details
#apply_devise_schema(name, type, options = {}) ⇒ Object
Tell how to apply schema methods.
26 27 28 |
# File 'lib/devise/orm/active_record.rb', line 26 def apply_devise_schema(name, type, ={}) column name, type.to_s.downcase.to_sym, end |