Module: Devise::Orm::Sequel::Hook

Defined in:
lib/devise/orm/sequel.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.validates_uniqueness_of(*fields) ⇒ Object

obviously this doesn’t work yet



14
15
# File 'lib/devise/orm/sequel.rb', line 14

def self.validates_uniqueness_of(*fields)
end

Instance Method Details

#devise_modules_hook!Object



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/devise/orm/sequel.rb', line 8

def devise_modules_hook!
  extend Schema
  include Compatibility
  include ActiveModel::Validations

  # obviously this doesn't work yet
  def self.validates_uniqueness_of(*fields)
  end

  yield
end