module Devise::Schema
Public Instance Methods
cas_authenticatable()
click to toggle source
Adds the required fields for cas_authenticatable
to the schema. Currently this is just username (String).
# File lib/devise_cas_authenticatable/schema.rb, line 11 def cas_authenticatable if respond_to? :apply_devise_schema apply_devise_schema :username, String else apply_schema :username, String end end