Permalink
Browse files

Improve wording in AC::ParameterMissing error message

  • Loading branch information...
1 parent 26a2444 commit 60a37055625d25d8d5bc2923604a1f924c9e5b27 @guilleiguaran guilleiguaran committed with rafaelfranca Nov 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -17,7 +17,7 @@ class ParameterMissing < KeyError
def initialize(param) # :nodoc:
@param = param
- super("param not found: #{param}")
+ super("param is missing or the value is empty: #{param}")
end
end

0 comments on commit 60a3705

Please sign in to comment.