diff --git a/lib/reactive_record/active_record/reactive_record/base.rb b/lib/reactive_record/active_record/reactive_record/base.rb index 86677f7a..49c766ef 100644 --- a/lib/reactive_record/active_record/reactive_record/base.rb +++ b/lib/reactive_record/active_record/reactive_record/base.rb @@ -297,7 +297,7 @@ def errors!(hash) errors.clear && return unless hash hash.each do |attribute, messages| messages.each do |message| - errors.add(attribute, message: message) + errors.add(attribute, message) end end end