<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Meta Bates &#187; dm-voyeur</title>
	<atom:link href="http://www.metabates.com/tag/dm-voyeur/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metabates.com</link>
	<description>The technical ramblings of Mark Bates.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>DataMapper 0.9.x and Mack</title>
		<link>http://www.metabates.com/2008/06/01/datamapper-09x-and-mack/</link>
		<comments>http://www.metabates.com/2008/06/01/datamapper-09x-and-mack/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 06:14:51 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[adam french]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[dm-voyeur]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[migrations]]></category>
		<category><![CDATA[rails conf 08]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=103</guid>
		<description><![CDATA[As I&#8217;ve told a lot of you my goal was to have a Mack release out by the end of RailsConf, which ends tomorrow, that would be rocking the newly released version of DataMapper, 0.9.1. The good news is I&#8217;ve pretty much got it all done, and it works great! The bad news is I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;ve told a lot of you my goal was to have a Mack release out by the end of RailsConf, which ends tomorrow, that would be rocking the newly released version of DataMapper, 0.9.1. The good news is I&#8217;ve pretty much got it all done, and it works great! The bad news is I&#8217;m not going to release it.</p>
<p>Why is this you might ask? Why aren&#8217;t I going to get Mack support for DataMapper 0.9.1 out there, if it already works. Great questions. The answer is simply this, migrations. I&#8217;ve spent most of the weekend hanging out with a great guy by the name of Adam French. Adam is one of the core developer&#8217;s of DataMapper. As a matter of fact, I just left Adam after we spent a couple of hours in the hotel bar writing a gem called, dm-voyeur, to allow for &#8216;observing&#8217; of DataMapper::Resource objects.</p>
<p>Anyway, as I&#8217;ve been hanging out with Adam I&#8217;ve been trying to upgrade the Mack migration generator script to build the new style format for DataMapper 0.9.1. What I found though, was that migrations have a minor flaw, you have to write the SQL for the column! That means they aren&#8217;t portable! This bit me in the butt when I had a migration I wrote against Postgres that would run, but wouldn&#8217;t give me the results I expected in SQLite3. After spending most of the weekend complaining to Adam about this, he kindly pointed out that I have full commit access to DataMapper, and I should probably just fix the bloody thing myself. So that&#8217;s what I&#8217;ve done.</p>
<p>The great news is that migrations are now pretty sweet. The bad news is I&#8217;m not going to release Mack support for DataMapper 0.9.x until they put out the next release so everyone in the Mack universe can have a nice experience using the new migrations. Although I don&#8217;t know just when the next release of DataMapper will be, I estimate that it will be relatively soon. Keep an eye on this space.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/06/01/datamapper-09x-and-mack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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

