Module: DeviseCertifiable::Schema

Defined in:
lib/devise_certifiable/schema.rb

Instance Method Summary collapse

Instance Method Details

#certifiableObject



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

def certifiable
  apply_devise_schema :certification_token, String, :limit => 60
  apply_devise_schema :certified_at, DateTime
  apply_devise_schema :certified_by_id, Integer 
  apply_devise_schema :certified_by_type, String 
end