Module: Devise::Orm::ActiveRecord::Schema

Includes:
Schema
Defined in:
lib/devise/orm/active_record.rb

Instance Method Summary collapse

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, options={})
  column name, type.to_s.downcase.to_sym, options
end