I tried something like this
<code>
around_filter :around_filter_with_proc, if: Proc.new{|c| @state << "around_filter_proc"}, only: :around_filter_proc
</code>

1) For "if"  key when i use the new hash syntax i am getting syntax error, Looks like "if" is taken as a keyword  instead of being taken as a key.

I tried it separately in irb as well, I am not able to give "if" as a key name with new syntax. Am i missing something here?

<code> a = { if: :a , c: :d } </code>
 the above code does not work in irb as well