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

Option for separate attr_accessible reports

By default, all models not using attr_accessible
are combined into a single warning. This option
will provide an individual warning for each
model. Useful for tracking new warnings.
上级 bafa1a23
......@@ -117,6 +117,10 @@ OptionParser.new do |opts|
options[:output_file] = file
end
opts.on "--separate-models", "Warn on each model without attr_accessible" do
options[:collapse_mass_assignment] = false
end
opts.on "-w",
"--confidence-level LEVEL",
["1", "2", "3"],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册