Module: Devise::W3Authenticatable::Schema

Defined in:
lib/devise_w3_authenticatable/schema.rb

Instance Method Summary collapse

Instance Method Details

#w3_authenticatable(options = {}) ⇒ Object



4
5
6
7
8
# File 'lib/devise_w3_authenticatable/schema.rb', line 4

def w3_authenticatable(options = {})
  null = options[:null] || false

  apply_devise_schema :email, String, :null => null
end