<?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"
	>
<channel>
	<title>Comments on: DataMapper, an Alternative to ActiveRecord</title>
	<atom:link href="http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/</link>
	<description>Ruby, Ruby on Rails, Los Angeles, Technology, Geek, Science, Life</description>
	<pubDate>Fri, 29 Aug 2008 22:20:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Jim Hickstei...</title>
		<link>http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-17987</link>
		<dc:creator>Jim Hickstei...</dc:creator>
		<pubDate>Fri, 28 Dec 2007 05:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-17987</guid>
		<description>I'm just about to try to add an "audit" filter to my as-yet-unreleased Rails app.  This would report (to another database table) changes made to model objects, by whom, and specifically what columns changed, showing both the old and new values. (I'm spoiled: I'm replacing a pile of Perl code I wrote some years ago, and it did this.  My users will at least ask about any functional regression, here.)

It looks like DataMapper might make this easier than ActiveRecord.  But I'm _this close_ to having something up and running, after pussy-footing around with this for almost a year, and I'm reluctant to tear out a bunch of stuff and start anything over, just to get auditing the way I want it.

I could use some encouragement, specifically around not having to replace all my controller code (which is, alas, not very small or DRY) and the model validations I've got.

Or I could just say "this person added/updated this object", possibly dumping all the values after save(), and leave it at that.  But: Ick.  Or read in the old object again (inside a transaction?) and do the comparison myself.  But: *sigh*</description>
		<content:encoded><![CDATA[<p>I&#8217;m just about to try to add an &#8220;audit&#8221; filter to my as-yet-unreleased Rails app.  This would report (to another database table) changes made to model objects, by whom, and specifically what columns changed, showing both the old and new values. (I&#8217;m spoiled: I&#8217;m replacing a pile of Perl code I wrote some years ago, and it did this.  My users will at least ask about any functional regression, here.)</p>
<p>It looks like DataMapper might make this easier than ActiveRecord.  But I&#8217;m _this close_ to having something up and running, after pussy-footing around with this for almost a year, and I&#8217;m reluctant to tear out a bunch of stuff and start anything over, just to get auditing the way I want it.</p>
<p>I could use some encouragement, specifically around not having to replace all my controller code (which is, alas, not very small or DRY) and the model validations I&#8217;ve got.</p>
<p>Or I could just say &#8220;this person added/updated this object&#8221;, possibly dumping all the values after save(), and leave it at that.  But: Ick.  Or read in the old object again (inside a transaction?) and do the comparison myself.  But: *sigh*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15559</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sun, 18 Nov 2007 01:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15559</guid>
		<description>Looks almost exactly like Og (the ORM part of Ruby's Nitro Web framework), especially in how the model drives the database.</description>
		<content:encoded><![CDATA[<p>Looks almost exactly like Og (the ORM part of Ruby&#8217;s Nitro Web framework), especially in how the model drives the database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Fisch...</title>
		<link>http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15294</link>
		<dc:creator>Daniel Fisch...</dc:creator>
		<pubDate>Thu, 15 Nov 2007 05:41:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15294</guid>
		<description>Hm, yeah, there are a couple bugs in Safari, like the size of the shadow to the box. I'm in Safari right now, and I can't see any font that is too small. What resolution are you on?</description>
		<content:encoded><![CDATA[<p>Hm, yeah, there are a couple bugs in Safari, like the size of the shadow to the box. I&#8217;m in Safari right now, and I can&#8217;t see any font that is too small. What resolution are you on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Herdma...</title>
		<link>http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15293</link>
		<dc:creator>James Herdma...</dc:creator>
		<pubDate>Thu, 15 Nov 2007 05:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15293</guid>
		<description>My interest is quite piqued by DataMapper too.  It'll be a very interesting library to watch over the next while.

On an unrelated note, you might want to increase the size of your monospaced fonts.  They're _really_ tiny in Safari.</description>
		<content:encoded><![CDATA[<p>My interest is quite piqued by DataMapper too.  It&#8217;ll be a very interesting library to watch over the next while.</p>
<p>On an unrelated note, you might want to increase the size of your monospaced fonts.  They&#8217;re _really_ tiny in Safari.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Fisch...</title>
		<link>http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15238</link>
		<dc:creator>Daniel Fisch...</dc:creator>
		<pubDate>Wed, 14 Nov 2007 23:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.danielfischer.com/2007/11/13/datamapper-an-alternative-to-activerecord/#comment-15238</guid>
		<description>Thanks for the compliment! I'm really loving DataMapper myself. I think this is going to get quite a bit of adoption. I can really see it being put into other projects like Sinatra etc.</description>
		<content:encoded><![CDATA[<p>Thanks for the compliment! I&#8217;m really loving DataMapper myself. I think this is going to get quite a bit of adoption. I can really see it being put into other projects like Sinatra etc.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
