提交 6ae93a0f 编写于 作者: G Guillermo Iguaran

AC::ParameterMissing inherits from KeyError since it's more appropiated than IndexError

上级 9bfa13bb
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
require 'active_support/rescuable' require 'active_support/rescuable'
module ActionController module ActionController
class ParameterMissing < IndexError class ParameterMissing < KeyError
attr_reader :param attr_reader :param
def initialize(param) def initialize(param)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册