Sha256: bac4a82ea2859b2f07981038c79db76f9b3af4c1a02e38e04a314190d673cec9
Contents?: true
Size: 688 Bytes
Versions: 6
Compression:
Stored size: 688 Bytes
Contents
require 'dm-devise' require 'devise/orm/data_mapper/compatibility' require 'devise/orm/data_mapper/schema' require 'devise/orm/data_mapper/date_time' require 'devise/orm/data_mapper/dm-validations' require 'orm_adapter/adapters/data_mapper' module Devise module Orm module DataMapper module Hook def devise_modules_hook! extend Schema include Compatibility yield return unless Devise.apply_schema devise_modules.each { |m| send(m) if respond_to?(m, true) } end end end end end DataMapper::Model.append_extensions(Devise::Models) DataMapper::Model.append_extensions(Devise::Orm::DataMapper::Hook)
Version data entries
6 entries across 6 versions & 1 rubygems