lib/sequel/plugins/devise.rb in sequel-devise-0.0.11 vs lib/sequel/plugins/devise.rb in sequel-devise-0.0.12

- old
+ new

@@ -69,10 +69,10 @@ def devise_modules_hook! yield include OverrideFixes end - Model::HOOKS.reject { |hook| hook == :after_commit }.each do |hook| + ::Sequel::Model::HOOKS.reject { |hook| hook == :after_commit }.each do |hook| define_method(hook) do |method = nil, options = {}, &block| if Symbol === (if_method = options[:if]) orig_block = block block = nil method_without_if = method