<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Generating a Rails project configured to use MySQL</title>
	<atom:link href="http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 16 Mar 2010 17:17:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/comment-page-1/#comment-123930</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Wed, 25 Mar 2009 14:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1137#comment-123930</guid>
		<description>@rbn: You are welcome!</description>
		<content:encoded><![CDATA[<p>@rbn: You are welcome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rbn</title>
		<link>http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/comment-page-1/#comment-123722</link>
		<dc:creator>rbn</dc:creator>
		<pubDate>Mon, 23 Mar 2009 17:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1137#comment-123722</guid>
		<description>fantastic... :)) thank you very much for your kind and quick response!</description>
		<content:encoded><![CDATA[<p>fantastic&#8230; :)) thank you very much for your kind and quick response!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/comment-page-1/#comment-123719</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 23 Mar 2009 16:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1137#comment-123719</guid>
		<description>@rbn: You can define the variable RAILS_DEFAULT_DATABASE and set it to mysql, see the hint I added to the article.

Hope that helps!</description>
		<content:encoded><![CDATA[<p>@rbn: You can define the variable RAILS_DEFAULT_DATABASE and set it to mysql, see the hint I added to the article.</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rbn</title>
		<link>http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/comment-page-1/#comment-123650</link>
		<dc:creator>rbn</dc:creator>
		<pubDate>Sun, 22 Mar 2009 18:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1137#comment-123650</guid>
		<description>Hi!
just wandering...
does anybody know how do you config rails to make mysql and not sqlite the default adapter? 
thnx</description>
		<content:encoded><![CDATA[<p>Hi!<br />
just wandering&#8230;<br />
does anybody know how do you config rails to make mysql and not sqlite the default adapter?<br />
thnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/comment-page-1/#comment-123127</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Sun, 15 Mar 2009 16:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1137#comment-123127</guid>
		<description>@Andreas: Thanks for your comment!

Yes, such little incompatibilities between the databases can be annoying. Hence I prefer to use the same database type in all environments, as it eliminates a possible source of problems. 

And yes, setting up a new project is quite smooth, even with MySQL (as soon as you learned about the &quot;-d&quot; option *g*).</description>
		<content:encoded><![CDATA[<p>@Andreas: Thanks for your comment!</p>
<p>Yes, such little incompatibilities between the databases can be annoying. Hence I prefer to use the same database type in all environments, as it eliminates a possible source of problems. </p>
<p>And yes, setting up a new project is quite smooth, even with MySQL (as soon as you learned about the &#8220;-d&#8221; option *g*).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://cakebaker.42dh.com/2009/03/13/generating-a-rails-project-configured-to-use-mysql/comment-page-1/#comment-123106</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Sun, 15 Mar 2009 10:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=1137#comment-123106</guid>
		<description>When I started learning rails I used SQLite for the development. Works just fine. But there are certain pitfalls with SQLite on your development machine when you&#039;re going to use MySQL in production:
If you use boolean values they are handled differently in SQLite and MySQL (That&#039;s not a big problem because rails handles that for you - unless you use some complex queries as i did :( ). And certain functions are different: For exmple, it&#039;s: RAND() in MySQL but RANDOM() in SQLite.

Just saying this because I spent a lot of time figuring out why my tests aren&#039;t working as expected (development, production: MySQL, test: SQLite)

Well, anyway: I like how easy it is to set up a new project using SQLite.</description>
		<content:encoded><![CDATA[<p>When I started learning rails I used SQLite for the development. Works just fine. But there are certain pitfalls with SQLite on your development machine when you&#8217;re going to use MySQL in production:<br />
If you use boolean values they are handled differently in SQLite and MySQL (That&#8217;s not a big problem because rails handles that for you &#8211; unless you use some complex queries as i did :( ). And certain functions are different: For exmple, it&#8217;s: RAND() in MySQL but RANDOM() in SQLite.</p>
<p>Just saying this because I spent a lot of time figuring out why my tests aren&#8217;t working as expected (development, production: MySQL, test: SQLite)</p>
<p>Well, anyway: I like how easy it is to set up a new project using SQLite.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
