On 2014-06-23 14:46, Gagan Awhad wrote:
> Hello,
> 
> Suppose I have two controllers `MyFirstController` and
> `MySecondController` each with a method `my_method`. I would like to
> mark `my_method` in `MyFirstController` as safe, but not the one in
> `MySecondController`.  What syntax should I use to achieve it?
> Currently the documentation reads using the -s option as “`brakeman -s
> benign_method,totally_safe`”.
> 
> I tried some conventions, but none of them seemed to work.
> 
> Thanks for the help!
> 
> Gagan

Hi Gagan,

Sorry, there is no way to differentiate between two methods like this.

In general, I discourage use of `-s` because it is unclear what it does 
and it is not always implemented consistently in checks. Instead, 
consider using `-I` to ignore specific warnings.

-Justin

Reply via email to