Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

AC::ParameterMissing inherits from KeyError since it's more appropiat…

…ed than IndexError
  • Loading branch information...
commit 6ae93a0fdf457fb964149c976e7da734a548cec3 1 parent 9bfa13b
@guilleiguaran guilleiguaran authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/metal/strong_parameters.rb
View
2  actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -3,7 +3,7 @@
require 'active_support/rescuable'
module ActionController
- class ParameterMissing < IndexError
+ class ParameterMissing < KeyError
attr_reader :param
def initialize(param)
Please sign in to comment.
Something went wrong with that request. Please try again.