diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-11-02 14:39:40 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-11-02 14:41:35 -0500 |
commit | e3e7786b0fde0c7807608e4d51c63e97a2a59550 (patch) | |
tree | fec962a2e1d62ca78daf8f1f5c6ce1c45c486c5d /actionpack/lib/action_controller | |
parent | e474e47bfaefea2c2f72cb2317dcdfc372cae484 (diff) | |
download | rails-e3e7786b0fde0c7807608e4d51c63e97a2a59550.tar.gz rails-e3e7786b0fde0c7807608e4d51c63e97a2a59550.tar.bz2 rails-e3e7786b0fde0c7807608e4d51c63e97a2a59550.zip |
Improve wording in AC::ParameterMissing error message
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index fcc76f6225..b4948d99a8 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -17,7 +17,7 @@ module ActionController def initialize(param) # :nodoc: @param = param - super("param not found: #{param}") + super("param is missing or the value is empty: #{param}") end end |