Justin, 

Thank you so much for replying to my email! I really appreciate your work. 

I looked through the docs for syntax of the brakeman.ignore file… however, I 
could not find it. I hope I did not miss something. Can you point me to the 
docs ? 

Thanks! And have a good day/night. 

Gagan

On Jun 23, 2014, at 6:44 PM, Justin <[email protected]> wrote:

> 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