Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

Commit

Permalink
Merge pull request #103 from sfcgeorge/patch-1
Browse files Browse the repository at this point in the history
Fix `errors!` format regression.
  • Loading branch information
catmando authored Jun 27, 2018
2 parents 64d44e6 + 4cc8d56 commit 86bdc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reactive_record/active_record/reactive_record/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86bdc65

Please sign in to comment.