<?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: Saving without callbacks</title>
	<atom:link href="http://www.napcsweb.com/blog/2009/08/19/saving-without-callbacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.napcsweb.com/blog/2009/08/19/saving-without-callbacks/</link>
	<description>professional web development and consulting</description>
	<lastBuildDate>Mon, 22 Aug 2011 18:56:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Brian</title>
		<link>http://www.napcsweb.com/blog/2009/08/19/saving-without-callbacks/comment-page-1/#comment-27334</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 27 Aug 2009 21:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.napcsweb.com/blog/?p=85#comment-27334</guid>
		<description>I think that&#039;s an acceptable approach, but what I don&#039;t like about it is it&#039;s not as declarative, and it&#039;s inconsistent with how update_attribute and update work. At least you know with my example by looking that I&#039;m not triggering callbacks. 

Thanks for bringing that up though!</description>
		<content:encoded><![CDATA[<p>I think that&#8217;s an acceptable approach, but what I don&#8217;t like about it is it&#8217;s not as declarative, and it&#8217;s inconsistent with how update_attribute and update work. At least you know with my example by looking that I&#8217;m not triggering callbacks. </p>
<p>Thanks for bringing that up though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.napcsweb.com/blog/2009/08/19/saving-without-callbacks/comment-page-1/#comment-27324</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 20 Aug 2009 06:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.napcsweb.com/blog/?p=85#comment-27324</guid>
		<description>What about keeping your after_save callback, but in the callback method, use update_all, which does not trigger callbacks, so you avoid the endless loop scenario.

(http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002273)</description>
		<content:encoded><![CDATA[<p>What about keeping your after_save callback, but in the callback method, use update_all, which does not trigger callbacks, so you avoid the endless loop scenario.</p>
<p>(<a href="http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002273" rel="nofollow">http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002273</a>)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.359 seconds -->

