Permalink
Browse files

Improve wording in AC::ParameterMissing error message

  • Loading branch information...
1 parent 0b9158b commit d51b1be3ab7821d2205df6c971532dad32ce5a2e @guilleiguaran guilleiguaran committed Nov 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/action_controller/parameters.rb
@@ -13,7 +13,7 @@ class ParameterMissing < IndexError
def initialize(param)
@param = param
- super("key not found: #{param}")
+ super("param is missing or the value is empty: #{param}")
end
end

0 comments on commit d51b1be

Please sign in to comment.