# Skip all filters for a method

**URL:** <https://www.ruby-forum.com/t/skip-all-filters-for-a-method/145358>\
**Category:** Rails\
**Created:** [August 8, 2008, 11:34am UTC](https://www.ruby-forum.com/t/skip-all-filters-for-a-method/145358 "2008-08-08T11:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [August 8, 2008, 11:34am UTC](https://www.ruby-forum.com/t/skip-all-filters-for-a-method/145358/1 "2008-08-08T11:34:30Z")

</div>

I have a couple of methods called from Ajax. Is there a way I can say  
skip\_all\_filters or something for these methods or do I tediously have  
to do several skip\_before\_filter :x, :only =\> :y?

---

<div class="post-metadata">

**Author:** ![phil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@phil](https://www.ruby-forum.com/u/phil)\
**Post date:** [October 21, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/skip-all-filters-for-a-method/145358/2 "2008-10-21T17:14:37Z")

</div>

phil,

Check this out:  
[http://markmcb.com/2008/10/14/skip-all-rails-filters/](http://markmcb.com/2008/10/14/skip-all-rails-filters/)

Basically you use one method to tell Rails you want to skip filters, and  
a separate method to provide the complete list of filters to skip.
