<?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: Rails 2.1 broke my mysql foreign keys!</title>
	<atom:link href="http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/</link>
	<description>News and updates from the people at SmartLogic Solutions</description>
	<pubDate>Thu, 04 Dec 2008 20:44:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-bleeding</generator>
		<item>
		<title>By: Nigel Sharp</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/#comment-397</link>
		<dc:creator>Nigel Sharp</dc:creator>
		<pubDate>Sun, 12 Oct 2008 09:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/#comment-397</guid>
		<description>Thanks for your kind help, I will give that a go. I hadn't realized that the fix could be implemented in my app's code, rather than rails itself !
Thanks once again,
Nigel</description>
		<content:encoded><![CDATA[<p>Thanks for your kind help, I will give that a go. I hadn&#8217;t realized that the fix could be implemented in my app&#8217;s code, rather than rails itself !<br />
Thanks once again,<br />
Nigel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Trupiano</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/#comment-390</link>
		<dc:creator>John Trupiano</dc:creator>
		<pubDate>Sat, 11 Oct 2008 13:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/#comment-390</guid>
		<description>Hey Nigel,

I continue to use the monkey patch I included at the top and drop it into initializers/.  It seems to be the cleanest and most modular.  Furthermore, when the app is upgraded to 2.2, I simply need to remove that file.

The patch directly to the source that I included at the end requires the least amount of code, but it would probably require you to fork that version of rails and maintain it (because you'll need that version of rails on any box that will be used to develop/test/run in production), which seems like overkill.

-John</description>
		<content:encoded><![CDATA[<p>Hey Nigel,</p>
<p>I continue to use the monkey patch I included at the top and drop it into initializers/.  It seems to be the cleanest and most modular.  Furthermore, when the app is upgraded to 2.2, I simply need to remove that file.</p>
<p>The patch directly to the source that I included at the end requires the least amount of code, but it would probably require you to fork that version of rails and maintain it (because you&#8217;ll need that version of rails on any box that will be used to develop/test/run in production), which seems like overkill.</p>
<p>-John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nigel Sharp</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/#comment-389</link>
		<dc:creator>Nigel Sharp</dc:creator>
		<pubDate>Sat, 11 Oct 2008 13:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/24/rails-21-broke-my-mysql-foreign-keys/#comment-389</guid>
		<description>Hi John,
Is there a best practise workaround for this ? Unfortuneately I'm stuck with Rails 2.1. When I specify foreign keys as :integer, they're ending up as BIGINT(11) in MySQL, resulting in failure to save my models. Thanks for any help you can give !
Cheers,
Nigel</description>
		<content:encoded><![CDATA[<p>Hi John,<br />
Is there a best practise workaround for this ? Unfortuneately I&#8217;m stuck with Rails 2.1. When I specify foreign keys as :integer, they&#8217;re ending up as BIGINT(11) in MySQL, resulting in failure to save my models. Thanks for any help you can give !<br />
Cheers,<br />
Nigel</p>
]]></content:encoded>
	</item>
</channel>
</rss>
