## Using email now instead of login. Will add an option later on. # Devise::Schema.class_eval do # # Creates login # # # # == Options # # * :null - When true, allow columns to be null. # def ldap_authenticatable(options={}) # null = options[:null] || false # # apply_schema :login, String, :null => null # end # # end