title: Rails 3 way of doing skip_before_filter, :only
body: <p>In rails 2.8 we can write skip_before_filter like this</p>
  
  <pre><code>skip_before_filter :require_login, :only =&gt; [:create,:new,:accept]
  </code></pre>
  
  <p>which means, i wanted to apply the filter  <code>require_login</code> only to these actions <code>[:create,:new,:accept]</code>, and skip the filter for others.</p>
  
  <p>But it seems, this way is <a href="http://apidock.com/rails/ActionController/Filters/ClassMethods/skip_before_filter#1083-deprecated-moved">deprecated</a> in rails 3. And new <a href="http://apidock.com/rails/AbstractController/Callbacks/ClassMethods/skip_filter">skip_filter</a> is added. i have tried  this</p>
  
  <pre><code> skip_filter :require_login, :only =&gt; [:create,:new,:accept]
  </code></pre>
  
  <p>but its not working, so how can i do this in rails 3.</p>