<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>OLD5 Bamboo Blog - Latest Comments in ActiveRecord != DataMapper</title><link>http://newbblog.disqus.com/</link><description></description><atom:link href="https://newbblog.disqus.com/activerecord_datamapper/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 10 Feb 2008 07:36:00 -0000</lastBuildDate><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840209</link><description>&lt;p&gt;Hey, nice comparison, I noticed one issue, this:&lt;/p&gt;&lt;p&gt;DataMapper::Base.auto_migrate!&lt;/p&gt;&lt;p&gt;has been changed into this:&lt;/p&gt;&lt;p&gt;DataMapper::Persistence.auto_migrate!&lt;/p&gt;&lt;p&gt;Cheers!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">solnic</dc:creator><pubDate>Sun, 10 Feb 2008 07:36:00 -0000</pubDate></item><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840217</link><description>&lt;p&gt;@Matt &amp;amp; @Jonathan - Thanks for the explanation!  DataMapper looks really cool and I'll try it out next time I start a merb app.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl</dc:creator><pubDate>Thu, 17 Jan 2008 17:14:00 -0000</pubDate></item><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840218</link><description>&lt;p&gt;@carl - Properties are still attributes of a DM managed class however the difference is that DM manages their persistence.&lt;/p&gt;&lt;p&gt;@Matt + @thomas - I'm pretty sure the classic migrations aren't destructive (well they can be if so wished, or I might have misunderstood:)). A DM migration is just a class that inherits DataMapper::Migration in a similar way to Rails migrations. You can manipulate and change your schema/data anyway you wish in the 'up' and 'down' methods just like you can in Rails. Is this what you mean?&lt;/p&gt;&lt;p&gt;Cheers my dears&lt;/p&gt;&lt;p&gt;Jonathan&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonathan Conway</dc:creator><pubDate>Thu, 17 Jan 2008 09:51:00 -0000</pubDate></item><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840219</link><description>&lt;p&gt;I was actually quite impressed with DataMapper. The documentation made sense, and the overview on the website was quite informative.&lt;/p&gt;&lt;p&gt;As for ActiveRecord, well i've had my ups and downs with that. The distinction between Model and the Migration was a bit annoying.&lt;/p&gt;&lt;p&gt;For example, when manipulating my schema via the Migration, i often had the associated Model break. Which is great if you are on the previous version, but the more versions behind you are, the more things can go wrong when upgrading - especially if you rely on methods in your models, or you decide to use another database and find that what worked in MySQL in version 1 totally barfs up with SQLite.&lt;/p&gt;&lt;p&gt;IMO, DataMapper is doing the right thing by sticking the schema in along with the model. That way i can think of versioning the Model as a whole.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Urquhart</dc:creator><pubDate>Thu, 17 Jan 2008 08:13:00 -0000</pubDate></item><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840220</link><description>&lt;p&gt;@Jon, true there are migrations in trunk but I presume they are still destructive so what benefit over auto_migrate do they provide (other than a history, which would be in your version control system)?&lt;/p&gt;&lt;p&gt;@Carl, I believe that a property defines an attribute, its type and the default value.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt</dc:creator><pubDate>Thu, 17 Jan 2008 05:43:00 -0000</pubDate></item><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840221</link><description>&lt;p&gt;One thing I don't understand about DataMapper is its usage of the terms property and attribute.  When is something a property and when is it an attribute?  This seems a little confusing.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carl</dc:creator><pubDate>Wed, 16 Jan 2008 15:00:00 -0000</pubDate></item><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840222</link><description>&lt;p&gt;Jonathan, how good are Datamapper's migrations beyond the simple table creation? I mean like updating some counter cache I add at a later point?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TomK32</dc:creator><pubDate>Wed, 16 Jan 2008 13:46:00 -0000</pubDate></item><item><title>Re: ActiveRecord != DataMapper</title><link>http://blog.new-bamboo.co.uk/2008/1/16/activerecord-datamapper#comment-5840223</link><description>&lt;p&gt;DM's got classic migrations now (at least they're there in trunk)...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonathan Conway</dc:creator><pubDate>Wed, 16 Jan 2008 11:57:00 -0000</pubDate></item></channel></rss>