提交 53362fcb 编写于 作者: A Andrey Deryabin

cleanliness in method parameters

上级 cd556c93
......@@ -299,7 +299,7 @@ def log(sql, name = "SQL", binds = [])
raise exception
end
def translate_exception(e, message)
def translate_exception(exception, message)
# override in derived class
ActiveRecord::StatementInvalid.new(message)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册