<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Skip All Rails Filters</title>
	<atom:link href="http://markmcb.com/2008/10/14/skip-all-rails-filters/feed/" rel="self" type="application/rss+xml" />
	<link>http://markmcb.com/2008/10/14/skip-all-rails-filters/</link>
	<description>Mark McBride of San Francisco</description>
	<lastBuildDate>Mon, 30 Jan 2012 15:31:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: RobL</title>
		<link>http://markmcb.com/2008/10/14/skip-all-rails-filters/#comment-208</link>
		<dc:creator>RobL</dc:creator>
		<pubDate>Sun, 05 Jul 2009 11:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=169#comment-208</guid>
		<description>I found exactly this code in an project I am trying to bring up to date for a client.

I found myself using the following instead

class ApplicationController
 
  def self.skip_all_filters(options = {})
    filter_chain.map(&amp;:method).each do &#124;filter&#124;
      skip_filter filter, options
    end
  end

end


class FooController  [:blah, :blah2]

end</description>
		<content:encoded><![CDATA[<p>I found exactly this code in an project I am trying to bring up to date for a client.</p>
<p>I found myself using the following instead</p>
<p>class ApplicationController</p>
<p>  def self.skip_all_filters(options = {})<br />
    filter_chain.map(&amp;:method).each do |filter|<br />
      skip_filter filter, options<br />
    end<br />
  end</p>
<p>end</p>
<p>class FooController  [:blah, :blah2]</p>
<p>end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://markmcb.com/2008/10/14/skip-all-rails-filters/#comment-140</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 12 Nov 2008 16:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=169#comment-140</guid>
		<description>after doing a little debugging I found that in rails 2.0 the objects in filter_chain are stored a lot differently.  
See: http://pastie.org/private/rwrvphoz8yrntrgn21a</description>
		<content:encoded><![CDATA[<p>after doing a little debugging I found that in rails 2.0 the objects in filter_chain are stored a lot differently.<br />
See: <a href="http://pastie.org/private/rwrvphoz8yrntrgn21a" rel="nofollow">http://pastie.org/private/rwrvphoz8yrntrgn21a</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://markmcb.com/2008/10/14/skip-all-rails-filters/#comment-139</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 12 Nov 2008 15:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://markmcb.com/?p=169#comment-139</guid>
		<description>This is exactly what I was looking for. It looks like it runs on rails 2.1 just fine, but on 2.0 not so much :(</description>
		<content:encoded><![CDATA[<p>This is exactly what I was looking for. It looks like it runs on rails 2.1 just fine, but on 2.0 not so much :(</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  markmcb.com/2008/10/14/skip-all-rails-filters/feed/ ) in 0.07071 seconds, on Feb 6th, 2012 at 10:21 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 6th, 2012 at 11:21 pm UTC -->
