Skip to content

Commit

Permalink
Fix messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoshaiyan committed Jan 24, 2024
1 parent f0c6c55 commit 9fd1c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mini_defender/validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def validate
coerced = rule.coerce(coerced)
force_coerce = rule.force_coerce?
else
@errors[k] << rule.error_message(k, value, self)
@errors[k] << rule.error_message(k, coerced, self)
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/mini_defender/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module MiniDefender
VERSION = "0.5.5"
VERSION = "0.5.6"
end

0 comments on commit 9fd1c5e

Please sign in to comment.