lib/sequel/plugins/devise.rb in sequel-devise-0.0.5 vs lib/sequel/plugins/devise.rb in sequel-devise-0.0.6

- old
+ new

@@ -31,9 +31,13 @@ update hash rescue Sequel::ValidationFailed return false end end + + def update_attribute(key, value) + update_attributes key => value + end end module ClassMethods Model::HOOKS.each do |hook| define_method(hook) do |method = nil, options = {}, &block|