Permalink
Browse files

Improve wording in AC::ParameterMissing error message

  • Loading branch information...
guilleiguaran committed Nov 2, 2013
1 parent e474e47 commit e3e7786b0fde0c7807608e4d51c63e97a2a59550
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 e3e7786

Please sign in to comment.