 
<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Serializing ActiveRecord objects</title>
	<link>http://www.napcsweb.com/blog/2007/03/19/serializing-activerecord-objects/</link>
	<description>professional web development and consulting</description>
	<pubDate>Wed, 07 Jan 2009 01:49:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>

	<item>
		<title>by: Brian</title>
		<link>http://www.napcsweb.com/blog/2007/03/19/serializing-activerecord-objects/#comment-414</link>
		<pubDate>Mon, 02 Apr 2007 14:10:42 +0000</pubDate>
		<guid>http://www.napcsweb.com/blog/2007/03/19/serializing-activerecord-objects/#comment-414</guid>
					<description>@Jeff:

Sure does. In this case, I am going to do things like calculate the total bill for a project, and I'd rather do 2 hits on creation rather than end up with bad calculations later on (like if I change a task,

But what if services were stored on a different database server?  Then my calculation routine would have to do a remote request for that service info as I loop over the tasks. Ugh!</description>
		<content:encoded><![CDATA[<p>@Jeff:</p>
<p>Sure does. In this case, I am going to do things like calculate the total bill for a project, and I&#8217;d rather do 2 hits on creation rather than end up with bad calculations later on (like if I change a task,</p>
<p>But what if services were stored on a different database server?  Then my calculation routine would have to do a remote request for that service info as I loop over the tasks. Ugh!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jeff</title>
		<link>http://www.napcsweb.com/blog/2007/03/19/serializing-activerecord-objects/#comment-390</link>
		<pubDate>Thu, 29 Mar 2007 14:05:03 +0000</pubDate>
		<guid>http://www.napcsweb.com/blog/2007/03/19/serializing-activerecord-objects/#comment-390</guid>
					<description>That's cool, I'm looking to do something similar in one of my models, but I have a question.  Doesn't that cause two database hits (one for the create, one for the sync).  I'm on a production app and have to worry about such things.

Thanks for the tip.</description>
		<content:encoded><![CDATA[<p>That&#8217;s cool, I&#8217;m looking to do something similar in one of my models, but I have a question.  Doesn&#8217;t that cause two database hits (one for the create, one for the sync).  I&#8217;m on a production app and have to worry about such things.</p>
<p>Thanks for the tip.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
