提交 ed5223a5 编写于 作者: J Justin Collins

Do not treat Model.arel_table as a model attribute

上级 92dc97c9
......@@ -320,7 +320,7 @@ class Brakeman::BaseCheck < Brakeman::SexpProcessor
if call? target and not method.to_s[-1,1] == "?"
has_immediate_model? target, out
elsif model_name? target
elsif model_name? target and method != :arel_table
exp
else
false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册