Sha256: de7917b9eb9603180e506f17d550d1886d6ea63d8ce4e6b803a50771f3bfdfbd

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

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 => false
      apply_schema :ldap_attributes, String, :null => true
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_ldap_authenticatable-0.1.6 lib/devise_ldap_authenticatable/schema.rb