<?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: Rails patch for caching &#8216;SHOW FIELDS&#8217; for has_and_belongs_to_many associations</title>
	<atom:link href="http://blog.lukeludwig.com/index.php/2009/01/08/rails-patch-for-caching-show-fields-for-has_and_belongs_to_many-associations/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lukeludwig.com/index.php/2009/01/08/rails-patch-for-caching-show-fields-for-has_and_belongs_to_many-associations/</link>
	<description>A blog about programming, ruby, rails.</description>
	<lastBuildDate>Sat, 26 Mar 2011 16:43:19 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Luke</title>
		<link>http://blog.lukeludwig.com/index.php/2009/01/08/rails-patch-for-caching-show-fields-for-has_and_belongs_to_many-associations/comment-page-1/#comment-3</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 31 Dec 2009 23:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lukeludwig.com/?p=27#comment-3</guid>
		<description>This patch was first included with Rails 2.3.</description>
		<content:encoded><![CDATA[<p>This patch was first included with Rails 2.3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://blog.lukeludwig.com/index.php/2009/01/08/rails-patch-for-caching-show-fields-for-has_and_belongs_to_many-associations/comment-page-1/#comment-2</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 31 Dec 2009 23:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lukeludwig.com/?p=27#comment-2</guid>
		<description>After submitting this patch to the Rails core team, upon suggestion I modified the patch to store the cache within the reflection instance of the association. This is a better solution since it avoids the possibility of caching the same info in 2 places (the 2 owners of the habtm association). This patch allows one to call columns and reset_column_information directly from the habtm association: developer = Developer.find 1 developer.projects.columns developer.projects.reset_column_information See the updated patch at http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1738-caching-columns-for-has_and_belongs_to_many#ticket-1738-6</description>
		<content:encoded><![CDATA[<p>After submitting this patch to the Rails core team, upon suggestion I modified the patch to store the cache within the reflection instance of the association. This is a better solution since it avoids the possibility of caching the same info in 2 places (the 2 owners of the habtm association). This patch allows one to call columns and reset_column_information directly from the habtm association: developer = Developer.find 1 developer.projects.columns developer.projects.reset_column_information See the updated patch at <a href="http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1738-caching-columns-for-has_and_belongs_to_many#ticket-1738-6" rel="nofollow">http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1738-caching-columns-for-has_and_belongs_to_many#ticket-1738-6</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

