Skip to content
This repository has been archived by the owner on Aug 17, 2017. It is now read-only.

Commit

Permalink
Improve wording in AC::ParameterMissing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed Nov 2, 2013
1 parent 0b9158b commit d51b1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/action_controller/parameters.rb
Expand Up @@ -13,7 +13,7 @@ class ParameterMissing < IndexError


def initialize(param) def initialize(param)
@param = param @param = param
super("key not found: #{param}") super("param is missing or the value is empty: #{param}")
end end
end end


Expand Down

0 comments on commit d51b1be

Please sign in to comment.