Sha256: 6a24004940858ff7ca5669a745aa391f018abb34f250c70a20679adbd012a6a4

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 Bytes

Contents

module Sequel
  module Plugins
    module Devise
      def self.apply(model, options = {})
        model.extend ::Devise::Models
        model.plugin :hook_class_methods # Devise requires a before_validation
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sequel-devise-0.0.2 lib/sequel/plugins/devise.rb
sequel-devise-0.0.1 lib/sequel/plugins/devise.rb