<?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; bug</title>
	<atom:link href="http://www.metabates.com/tag/bug/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>Temporary fix for the DataMapper bug</title>
		<link>http://www.metabates.com/2008/04/09/temporary-fix-for-the-datamapper-bug/</link>
		<comments>http://www.metabates.com/2008/04/09/temporary-fix-for-the-datamapper-bug/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 01:36:49 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=56</guid>
		<description><![CDATA[If like me you&#8217;re plagued by this DataMapper bug that kills your test cases. I&#8217;ve packaged up a temporary version of the DataMapper gem that seems to fix the problem. WARNING: This gem is NOT sanctioned by the DataMapper team. Use at your own risk. If you use this gem and find any issues, please [...]]]></description>
			<content:encoded><![CDATA[<p>If like me you&#8217;re plagued by this DataMapper bug that kills your test cases. I&#8217;ve packaged up a temporary version of the DataMapper gem that seems to fix the problem.</p>
<p>WARNING: This gem is NOT sanctioned by the DataMapper team. Use at your own risk.</p>
<p>If you use this gem and find any issues, please let me know. Also, if you use this gem and things seem to be working just fine, then please let me know that too. Good luck!</p>
<p><a href="http://www.mackframework.com/wp-content/uploads/2008/04/datamapper-0301gem.zip">DataMapper-0.3.0.1.gem</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/04/09/temporary-fix-for-the-datamapper-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The state of migrations and the distributed routes rework</title>
		<link>http://www.metabates.com/2008/04/09/the-state-of-migrations-and-the-distributed-routes-rework/</link>
		<comments>http://www.metabates.com/2008/04/09/the-state-of-migrations-and-the-distributed-routes-rework/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 17:14:14 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[rinda]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=54</guid>
		<description><![CDATA[I was really hoping to get the rewrite of distributed routes using Rinda, as well as migration support for both ActiveRecord and DataMapper out either today, or by the end of the week. As it turns out, because of the Class bug in DataMapper 0.3.0 it doesn&#8217;t look like that&#8217;s going to happen till early [...]]]></description>
			<content:encoded><![CDATA[<p>I was really hoping to get the rewrite of distributed routes using Rinda, as well as migration support for both ActiveRecord and DataMapper out either today, or by the end of the week. As it turns out, because of the Class bug in DataMapper 0.3.0 it doesn&#8217;t look like that&#8217;s going to happen till early next week. Sorry about that folks. I&#8217;ve lost a lot of time on the DataMapper thing, but I&#8217;ve got a work around, locally anyway, that is allowing me to keep developing. As soon as I get it all done, I&#8217;ll be very happy to release it all. Stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/04/09/the-state-of-migrations-and-the-distributed-routes-rework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horrible bug in DataMapper 0.3.0</title>
		<link>http://www.metabates.com/2008/04/09/horrible-bug-in-datamapper-030/</link>
		<comments>http://www.metabates.com/2008/04/09/horrible-bug-in-datamapper-030/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 16:14:19 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[comparable]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=53</guid>
		<description><![CDATA[http://wm.lighthouseapp.com/projects/4819-datamapper/tickets/185-including-comparable-in-class-class-breaks-test-unit-and-probably-more#ticket-185-8 In the gem at the bottom of lib/data_mapper/support/typed_set.rb there is the following code: class Class Â Â include Comparable Â Â def &#60;=&#62;(other) Â Â  Â name &#60;=&#62; other.name Â Â end end This causese Test::Runner to through up an error similar to this: /usr/local/lib/ruby/1.8/test/unit/collector/objectspace.rb:25:in `collect': undefined method `suite' for Gem::LoadError:Class (NoMethodError) from /usr/local/lib/ruby/1.8/test/unit/collector/objectspace.rb:23:in `each_object' from /usr/local/lib/ruby/1.8/test/unit/collector/objectspace.rb:23:in `collect' from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:58 from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:213:in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wm.lighthouseapp.com/projects/4819-datamapper/tickets/185-including-comparable-in-class-class-breaks-test-unit-and-probably-more#ticket-185-8" target="_blank">http://wm.lighthouseapp.com/projects/4819-datamapper/tickets/185-including-comparable-in-class-class-breaks-test-unit-and-probably-more#ticket-185-8</a></p>
<p>In the gem at the bottom of lib/data_mapper/support/typed_set.rb there is the following code:</p>
<pre>class Class
Â Â include Comparable
Â Â def &lt;=&gt;(other)
Â Â  Â name &lt;=&gt; other.name
Â Â end
end</pre>
<p>This causese Test::Runner to through up an error similar to this:</p>
<pre>/usr/local/lib/ruby/1.8/test/unit/collector/objectspace.rb:25:in `collect': undefined method `suite' for Gem::LoadError:Class (NoMethodError)
from /usr/local/lib/ruby/1.8/test/unit/collector/objectspace.rb:23:in `each_object'
from /usr/local/lib/ruby/1.8/test/unit/collector/objectspace.rb:23:in `collect'
from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:58
from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:213:in `[]'
from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:213:in `run'
from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
from /usr/local/lib/ruby/1.8/test/unit.rb:278
from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5
rake aborted!</pre>
<p>It also causes your tests to blow up and not run. Which, if you&#8217;re trying to do any development causes some real problems! If you comment out &#8216;include Comparable&#8217; from Class things seem to work just fine. I say seem, because I haven&#8217;t done any real extensive testing with this. The other thing you can do is revert to 0.2.5, but that&#8217;s up to you. Either way, it&#8217;s not really optimal. Let&#8217;s hope they fix this soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/04/09/horrible-bug-in-datamapper-030/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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

