<?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>All Aboard Rails &#187; Rupak Ganguly</title>
	<atom:link href="http://rails.webintellix.com/author/rupakg/feed/" rel="self" type="application/rss+xml" />
	<link>http://rails.webintellix.com</link>
	<description>Ruby on Rails fun on Windows</description>
	<lastBuildDate>Tue, 29 Jun 2010 04:14:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rails Magazine Issue #6 released</title>
		<link>http://rails.webintellix.com/2010/06/29/rails-magazine-issue-6-released/</link>
		<comments>http://rails.webintellix.com/2010/06/29/rails-magazine-issue-6-released/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 04:14:55 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[rails magazine]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/?p=170</guid>
		<description><![CDATA[I am very happy to announce the release of the Rails Magazine Issue #6. It took us a while to get this issue out but it is better late than never. We improved a lot on the backend side and revamped into a new automated publishing system. This will in future enable us to streamline [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F&amp;title=Rails+Magazine+Issue+%236+released" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F&amp;title=Rails+Magazine+Issue+%236+released" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F&amp;title=Rails+Magazine+Issue+%236+released" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F&amp;headline=Rails+Magazine+Issue+%236+released" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Rails+Magazine+Issue+%236+released&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Rails+Magazine+Issue+%236+released&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Rails+Magazine+Issue+%236+released&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Rails+Magazine+Issue+%236+released&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Rails+Magazine+Issue+%236+released&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F&amp;title=Rails+Magazine+Issue+%236+released&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F29%2Frails-magazine-issue-6-released%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><div class="wp-caption alignright" style="width: 203px"><a href="http://www.railsmagazine.com/issues/6"><img title="Rails Magazine Issue #6" src="http://www.railsmagazine.com/images/issue6/magazine-photos/railsmagazine-cover6.png" alt="Rails Magazine Issue #6" width="193" height="249" /></a><p class="wp-caption-text">Rails Magazine Issue #6</p></div>
<p>I am very happy to announce the release of the Rails Magazine Issue #6. It took us a while to get this issue out but it is better late than never. We improved a lot on the backend side and revamped into a new automated publishing system. This will in future enable us to streamline the author submission, editing and publishing process. <a href="http://railsmagazine.com/authors/1" target="_blank">Olimpiu</a> and <a href="http://railsmagazine.com/authors/54" target="_blank">Raluca Metiu</a>, the husband/wife combo, worked very hard to get the new publishing system up.</p>
<p>In this beautiful 36-pages full color issue you will find some very in-depth articles and a couple of nice interviews. The issue consists of the following:</p>
<ul>
<li><em>Beautifying Your Markup With Haml and Sass</em> by  Ethan Gunderson</li>
<li><em>Scaling Rails</em> by Gonçalo Silva</li>
<li><em>Interview with Sarah Allen</em> by <a href="http://railsmagazine.com/authors/13" target="_blank">Rupak Ganguly</a></li>
<li><em>Data Extraction with Hpricot</em> by Jonas Alves</li>
<li><em>Deployment with Capistrano</em> by Omar Meeky</li>
<li><em>Fake Data – The Secret of Great Testing</em> by Robert  Hall</li>
<li><em>RubyConf India 2010 coverage</em> by Judy Das</li>
<li><em>Previous and Next Buttons</em> by James Schorr</li>
<li><em>RVM – The Ruby Version  Manager</em> by Markus Dreier</li>
<li><em>Interview with Michael Day of Prince XML</em> by <a href="http://railsmagazine.com/authors/1" target="_blank">Olimpiu Metiu</a></li>
</ul>
<p>The digital edition (PDF) is available for free at <a href="http://www.railsmagazine.com/issues/6" target="_blank">http://www.railsmagazine.com/issues/6</a>. You can also grab a printed copy  available in US, UK and Canada (8.80 USD + shipping).</p>
<p><a href="http://pdf.railsmagazine.com/rails-magazine-issue6.pdf" target="_blank">Download</a> the free digital edition of Rails Magazine Issue #6.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/06/29/rails-magazine-issue-6-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The new iPhone 4 phone is here&#8230;</title>
		<link>http://rails.webintellix.com/2010/06/07/the-new-iphone-4-phone-is-here/</link>
		<comments>http://rails.webintellix.com/2010/06/07/the-new-iphone-4-phone-is-here/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 18:53:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iPhone 4]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/2010/06/07/the-new-iphone-4-phone-is-here/</guid>
		<description><![CDATA[Steve Jobs announced the arrival of iPhone 4 at WWDC today. The highlights of the iPhone 4 are as below:
1. New Hardware Design: Front and back camera with flash, 2 mics, integrated antennae, and 24% thinner. Quad band HSDPA, 7.2Mbps, 802.11n WiFi, GPS, compass, accelerometer.
2. Retina Display: Four times as many pixels, 326 pixels per [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F&amp;title=The+new+iPhone+4+phone+is+here%26hellip%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F&amp;title=The+new+iPhone+4+phone+is+here%26hellip%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F&amp;title=The+new+iPhone+4+phone+is+here%26hellip%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F&amp;headline=The+new+iPhone+4+phone+is+here%26hellip%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=The+new+iPhone+4+phone+is+here%26hellip%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=The+new+iPhone+4+phone+is+here%26hellip%3B&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=The+new+iPhone+4+phone+is+here%26hellip%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=The+new+iPhone+4+phone+is+here%26hellip%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=The+new+iPhone+4+phone+is+here%26hellip%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F&amp;title=The+new+iPhone+4+phone+is+here%26hellip%3B&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F06%2F07%2Fthe-new-iphone-4-phone-is-here%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p>Steve Jobs announced the arrival of iPhone 4 at WWDC today. The highlights of the iPhone 4 are as below:</p>
<p>1. <strong>New Hardware Design</strong>: Front and back camera with flash, 2 mics, integrated antennae, and 24% thinner. Quad band HSDPA, 7.2Mbps, 802.11n WiFi, GPS, compass, accelerometer.</p>
<p>2. <strong>Retina Display</strong>: Four times as many pixels, 326 pixels per inch (300 is the limit for the retina!), 3.5 inch display, 960 x 640 pixels, 326 pixels per inch, 800:1 contrast ratio, IPS technology (better than OLED)</p>
<p>3. <strong>iPhone 4 is powered by the A4 chip</strong>: Micro-SIM, larger battery &#8211; improved battery life &#8211; 7 hours of 3G talk, 6 hours of 3G browsing, 10 hours of WiFi browsing, 10 hours of video, 40 hours of music and 300 hours of standby.</p>
<p>4. <strong>Gyroscope</strong>: 3 axis gyro, the gyro tied to accelerometer, compass together for six axis. pitch, roll, yaw. rotation about gravity, 6-axis motion sensing.</p>
<p>5. <strong>New Camera system</strong>: 5 megapixel, backside illuminated sensor. 5x digital zoom, tap to focus, and an LED flash. Records HD video – 720p at 30 fps. LED flash stays for video recording. You can record, edit and email right from the iPhone. iMovie for iPhone at $4.99.</p>
<p>6. <strong>iOS 4</strong>: iPhone OS4 aptly renamed to iOS4. You can see the features in <a href="http://blog.webintellix.com/2010/04/iphone-os-40-what-is-new.html" target="_blank">another post</a> I wrote earlier.</p>
<p>7. <strong>iBooks</strong>: Bookshelf, PDF reader, iBookstore</p>
<p>8. <strong>iAds</strong>: Apple’s ad network, comes on live on July 1st, 2010 for all iOS 4 devices.</p>
<p>9. <strong>FaceTime</strong>: Video calls on iPhone. WiFi only. iPhone 4 to iPhone 4. No setup. Camera can be flipped to the rear or front. Portrait or Landscape. This has to be the all time, life-altering, feature in any product…</p>
<p>Checkout all the <a href="http://www.apple.com/iphone/features/" target="_blank">features</a>, the <a href="http://www.apple.com/iphone/design/" target="_blank">design</a>, and the <a href="http://www.apple.com/iphone/specs.html" target="_blank">full technical specs</a> of the new iPhone 4 phone at Apple. <strong>Last but not the least, see it for yourself in this <a href="http://www.apple.com/iphone/design/#design-video" target="_blank">video of the new iPhone 4 phone</a> and the <a href="http://www.apple.com/iphone/gallery/" target="_blank">photo gallery</a> in all its glory&#8230;</strong></p>
<p><strong><br />
</strong></p>
<p><strong>Availability</strong>: <strong>Pre-order starts on June 24th, 2010</strong>. “AT&amp;T is going to make an incredibly generous upgrade offer. If your contract expires at any time in 2010, you can upgrade to the iPhone 4. You can get it up to six months early.”</p>
<p><strong>Colors</strong>: White and black.</p>
<p><strong>Pricing</strong>: iPhone 4 &#8211; $199 for 16GB, $299 for 32GB. iPhone 3GS &#8211; $99.</p>
<p><strong>iOS 4 upgrades:</strong> For the 3G, not all the features are supported, same with the iPod touch, and this excludes the first generation. Upgrades are free for all these products. <strong>Available on June 21st, 2010.</strong></p>
<p><strong>Hat tip</strong>: <a href="http://www.engadget.com/2010/06/07/steve-jobs-live-from-wwdc-2010/?sort=newest&amp;refresh=60" target="_blank">Engadget</a> and <a href="http://live.gdgt.com/2010/06/07/live-wwdc-2010-keynote-coverage/" target="_blank">gdgt</a> did a live coverage of the event. Thank guys, for your coverage for people like us, who could not attend in person.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/06/07/the-new-iphone-4-phone-is-here/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error in Spree rake db:bootstrap issue &#8211; stack level too deep</title>
		<link>http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/</link>
		<comments>http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/#comments</comments>
		<pubDate>Thu, 27 May 2010 22:00:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Spree]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/</guid>
		<description><![CDATA[I have been working on some Spree based ecommerce stores lately, and I ran into this issue while creating a new Spree project. I had bumped into this a while back but did not write about it then. But, now I have decided to pen it down.
The steps to creating a new Spree project is [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;headline=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F&amp;title=Error+in+Spree+rake+db%3Abootstrap+issue+-+stack+level+too+deep&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F28%2Ferror-in-spree-rake-dbbootstrap-issue-stack-level-too-deep%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p>I have been working on some <a href="http://spreecommerce.com" target="_blank">Spree</a> based ecommerce stores lately, and I ran into this issue while creating a new Spree project. I had bumped into this a while back but did not write about it then. But, now I have decided to pen it down.</p>
<p>The steps to creating a new <a href="http://spreecommerce.com" target="_blank">Spree</a> project is very simple. Assuming that you have Ruby and Rails both installed, you can simply do:</p>
<p>$ gem install spree</p>
<p><code>$ spree mystore</code></p>
<p><code>$ cd mystore</code></p>
<p><code>$ rake db:bootstrap</code></p>
<p><code>$ script/server </code></p>
<p>And, voila you should have a shiny Spree store.</p>
<p>But, I have bumped into an issue at the step <code>$ rake db:bootstrap</code> as shown below:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">$ rake db:bootstrap
<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#9966CC; font-weight:bold;">in</span> c:<span style="color:#006600; font-weight:bold;">/</span>RoRProjs<span style="color:#006600; font-weight:bold;">/</span>wixspree<span style="color:#006600; font-weight:bold;">&#41;</span>
rake aborted!
stack level too deep
c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rake<span style="color:#006600; font-weight:bold;">-</span>0.8.7<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rake.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">2390</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`raw_load_rakefile'
(See full trace by running task with --trace)</span></pre></div></div>

<p>After a little digging, I found out that Spree has a dependency on the ‘jeweler’ gem which in turn has some kind of dependency on Git.</p>
<p>So, although it seems like a weird solution but just by initializing a git repository on your Spree project folder i.e. mystore in my example, you will be happy to see that the problem is resolved.</p>
<p>So, to recap, in the above steps to create your new Spree project, add a new step before the rake step:</p>
<p><code>$ git init</code></p>
<p><code>$ rake db:bootstrap</code></p>
<p>You should be golden by now. Hope it helps.</p>
<p><strong>Note</strong>: I am running <a href="http://spreecommerce.com" target="_blank">Spree</a> 0.9.4 on Windows Vista and Rails 2.3.5 and Ruby 1.8.6 (ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32])</p>
<p><strong>Note</strong>: If you do not have Git installed, you might want to do that. Here are some excellent articles which show how to do it:</p>
<p><a title="http://github.com/guides/using-git-and-github-for-the-windows-for-newbies" href="http://github.com/guides/using-git-and-github-for-the-windows-for-newbies">http://github.com/guides/using-git-and-github-for-the-windows-for-newbies</a></p>
<p><a title="http://kylecordes.com/2008/git-windows-go" href="http://kylecordes.com/2008/git-windows-go">http://kylecordes.com/2008/git-windows-go</a></p>
<p><a title="http://www.gitcasts.com/posts/git-on-windows" href="http://www.gitcasts.com/posts/git-on-windows">http://www.gitcasts.com/posts/git-on-windows</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/05/28/error-in-spree-rake-dbbootstrap-issue-stack-level-too-deep/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error in Ruby relative_path_from call on Windows</title>
		<link>http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/</link>
		<comments>http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/#comments</comments>
		<pubDate>Wed, 26 May 2010 22:00:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[relative_path_from]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Spree]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/</guid>
		<description><![CDATA[I was recently working on some code for building an extension for Spree, when I ran into an issue while generating a extension controller. The error only happens on Windows.
The error in the console looks like this:

$ ruby script/generate extension_controller PromotionManager admin/promotions
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#
version_requirements is deprecated and will be removed on or after August 2010. Use [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;headline=Error+in+Ruby+relative_path_from+call+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Error+in+Ruby+relative_path_from+call+on+Windows&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Error+in+Ruby+relative_path_from+call+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F&amp;title=Error+in+Ruby+relative_path_from+call+on+Windows&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F05%2F27%2Ferror-in-ruby-relative_path_from-call-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p>I was recently working on some code for building an extension for Spree, when I ran into an issue while generating a extension controller. The error only happens on Windows.</p>
<p>The error in the console looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">$ ruby script<span style="color:#006600; font-weight:bold;">/</span>generate extension_controller PromotionManager admin<span style="color:#006600; font-weight:bold;">/</span>promotions
c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">/</span>gem_dependency.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">119</span>:Warning: <span style="color:#6666ff; font-weight:bold;">Gem::Dependency</span><span style="color:#008000; font-style:italic;">#</span>
version_requirements is deprecated <span style="color:#9966CC; font-weight:bold;">and</span> will be removed on <span style="color:#9966CC; font-weight:bold;">or</span> after August 2010. <span style="color:#9900CC;">Use</span> <span style="color:#008000; font-style:italic;">#requirement</span>
Loading haml<span style="color:#006600; font-weight:bold;">-</span>edge gem.
<span style="color:#9900CC;">c</span>:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>pathname.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">709</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`relative_path_from': different prefix: &quot;c:/&quot; and &quot;C:/RoRPro
js/spreestore&quot; (ArgumentError)
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb:110:in `</span>use_co
mponent_sources!<span style="color:#996600;">'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb:109:in `each'</span>
from c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rails_generator<span style="color:#006600; font-weight:bold;">/</span>lookup.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">109</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`use_co
mponent_sources!'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb:55:in `</span><span style="color:#9966CC; font-weight:bold;">include</span>
d<span style="color:#996600;">'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator.rb:38:in `include'</span>
from c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>rails<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>rails_generator.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">38</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`send'
from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator.rb:38
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `</span>gem_original_require<span style="color:#996600;">'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'</span>
from c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>gems<span style="color:#006600; font-weight:bold;">/</span>activesupport<span style="color:#006600; font-weight:bold;">-</span>2.3.5<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>active_support<span style="color:#006600; font-weight:bold;">/</span>dependencies.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">1</span>
<span style="color:#006666;">56</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`require'
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:5
21:in `</span>new_constants_in<span style="color:#996600;">'
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:1
56:in `require'</span>
from script<span style="color:#006600; font-weight:bold;">/</span>generate:<span style="color:#006666;">4</span></pre></div></div>

</pre>
<p>The error is specifically in this line:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">c:<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span>lib<span style="color:#006600; font-weight:bold;">/</span>ruby<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">1.8</span><span style="color:#006600; font-weight:bold;">/</span>pathname.<span style="color:#9900CC;">rb</span>:<span style="color:#006666;">709</span>:<span style="color:#9966CC; font-weight:bold;">in</span> <span style="color:#996600;">`relative_path_from': different prefix: &quot;c:/&quot; and &quot;C:/RoRPro
js/spreestore&quot; (ArgumentError)</span></pre></div></div>

</pre>
<p>After a little digging, it was evident that the <strong>‘relative_path_from’</strong> method in <strong>‘/ruby/lib/ruby/1.8/pathname.rb’</strong> file had the problem. The problem was also described as a ticket at <a href="http://redmine.ruby-lang.org/issues/show/1366">http://redmine.ruby-lang.org/issues/show/1366</a> and the excerpt of the issue is shown below:</p>
<blockquote><p>On Windows, the case of the drive letter can be either upper case or lower case (eg, "C:" or "c:") on the same machine at the same time in different Command Prompt Windows (see below for details). Dir.pwd will return either lower-case or upper-case for the drive letter (“C:/” or “c:/”) depending on the Command Prompt it is run from. However, <strong>FILE</strong> always uses lower-case drive letter. This can cause an ArgumentError when comparing Dir.pwd and <strong>FILE</strong> using Pathname#relative_path_from. This happens with version 1.9.1p0 as well. Pathname#relative_path_from should deal with the case where the case of the argument is different.</p></blockquote>
<p>Note, that I have both my ruby install folder and my project folder on c: drive. And, I am running Ruby 1.8.6  - ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]</p>
<p><strong>Solution</strong></p>
<p>I monkey-patched the following lines in pathname.rb file as shown below.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">def</span> relative_path_from<span style="color:#006600; font-weight:bold;">&#40;</span>base_directory<span style="color:#006600; font-weight:bold;">&#41;</span>
dest_directory = <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">cleanpath</span>.<span style="color:#9900CC;">to_s</span>.<span style="color:#9900CC;">capitalize</span>!
base_directory = base_directory.<span style="color:#9900CC;">cleanpath</span>.<span style="color:#9900CC;">to_s</span>.<span style="color:#9900CC;">capitalize</span>!</pre></div></div>

</pre>
<p>I added the <strong>capitalize!</strong> keyword at the end of the two lines so that both the paths are in uppercase, so that later in the code (line 708-710) shown below does not barf and give us the error we got shown in the first para. of the article.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">if</span> dest_prefix != base_prefix
<span style="color:#CC0066; font-weight:bold;">raise</span> <span style="color:#CC00FF; font-weight:bold;">ArgumentError</span>, <span style="color:#996600;">&quot;different prefix: #{dest_prefix.inspect} and #{base_directory.inspect}&quot;</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>The temporary solution works after the patch. Hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/05/27/error-in-ruby-relative_path_from-call-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Smashing Magazine needs help! Let&#8217;s give back&#8230;</title>
		<link>http://rails.webintellix.com/2010/03/23/smashing-magazine-needs-help-lets-give-back/</link>
		<comments>http://rails.webintellix.com/2010/03/23/smashing-magazine-needs-help-lets-give-back/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:57:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2010/03/smashing-magazine-needs-help-lets-give-back/</guid>
		<description><![CDATA[ For over the years I have read and enjoyed the articles and posts from Smashing Magazine. They have helped me in contrasting and getting to the bottom of a lot of things. I have benefited from the excellent viewpoints, free fonts, free themes that they made available from time to time. As always, as [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F&amp;title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F&amp;title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F&amp;title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F&amp;headline=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F&amp;title=Smashing+Magazine+needs+help%21+Let%26%238217%3Bs+give+back%26%238230%3B&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F03%2F23%2Fsmashing-magazine-needs-help-lets-give-back%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p><a title="Smashing Mag. eBook" href="http://shop.smashingmagazine.com/smashing-ebook-series-1-professional-web-design-intl.html" target="_blank"><img title="Smashing Mag. eBook" style="border-right: 0px; border-top: 0px; display: inline; margin: 0px 0px 5px 10px; border-left: 0px; border-bottom: 0px" height="166" alt="Smashing Mag. eBook" src="http://webintellix.com/blog_rails/wp-content/uploads/2010/03/sm-book-cover.jpg" width="136" align="right" border="0" /></a> For over the years I have read and enjoyed the articles and posts from Smashing Magazine. They have helped me in contrasting and getting to the bottom of a lot of things. I have benefited from the excellent viewpoints, free fonts, free themes that they made available from time to time. As always, as I was reading the daily post, and I read the following and I wanted to help as well.</p>
<blockquote><p>What happened here today, on the Smashing Magazine&#8217;s website? Well, here is the thing: we need your help. Only sound financial conditions can guarantee the steady stream of high quality content which you are used to on Smashing Magazine. Today we need your financial support. Please <strong><a href="http://shop.smashingmagazine.com/smashingbook-dispatcher.php?d=smashing-ebook-series-1-professional-web-design">help us by buying our new eBook &quot;Professional Web Design&quot;</a></strong>.</p>
</blockquote>
<p>Well, needless to say I went ahead and ordered the eBook. In the past, I have ordered <a href="http://shop.smashingmagazine.com/smashing-book-intl.html#d=smashing-book&amp;utm_source=Smashing%2BMagazine&amp;utm_medium=banner&amp;utm_content=Smashing%3A%2Bbadge15.png&amp;utm_campaign=Smashing%2BMagazine%20-%20Badge%20-%20Smashing%20Book" target="_blank">their printed book “The Smashing Magazine Book”</a>. The printed book is a valuable asset to novice and experienced web developers and designers alike. I am looking forward to reading the eBook. The eBook contains a selection of their best articles about professional Web design and the business side of web development. It contains 10 already published articles and 2 exclusive, newly written pieces. The book costs only <strong>$9.90</strong>.</p>
<p><strong>Plea:</strong> Please tweet my post, or just tweet the url to the eBook and the printed book so that we can all help Smashing Magazine. It is a very small thing on our part to do to keep this very valuable asset going. </p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8c23aa21-c209-4f7e-8ae8-1dc8d34d78eb" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Smashing+Magazine" rel="tag">Smashing Magazine</a></div>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/03/23/smashing-magazine-needs-help-lets-give-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install RMagick + ImageMagick on Windows</title>
		<link>http://rails.webintellix.com/2010/01/04/how-to-install-rmagick-imagemagick-on-windows/</link>
		<comments>http://rails.webintellix.com/2010/01/04/how-to-install-rmagick-imagemagick-on-windows/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 08:35:29 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[RMagick]]></category>
		<category><![CDATA[SQLite3]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/?p=138</guid>
		<description><![CDATA[I have installed RMagick and Image Magick on many Windows machines and I have stumbled across various kinds of errors, and finally I have decided to document them so that I could not only document it for myself, but for other people like me, who are stuck due to these errors.
The issues that I have [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;headline=How+to+install+RMagick+%2B+ImageMagick+on+Windows" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;u=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F&amp;title=How+to+install+RMagick+%2B+ImageMagick+on+Windows&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2010%2F01%2F04%2Fhow-to-install-rmagick-imagemagick-on-windows%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p>I have installed RMagick and Image Magick on many Windows machines and I have stumbled across various kinds of errors, and finally I have decided to document them so that I could not only document it for myself, but for other people like me, who are stuck due to these errors.</p>
<p>The issues that I have faced are as follows:</p>
<p>A. This version of RMagick was created to run with ImageMagick 6.3.0 but ImageMagick 6.3.5 is installed on this system. You should either<br />
1) Configure and build RMagick for ImageMagick 6.3.5, or<br />
2) download ImageMagick 6.3.0 from http://www.imagemagick.org and install it.<br />
B. Errors about missing CORE_.. .dll file(s).<br />
C. Errors about missing sqlite3.dll.</p>
<p>Issue A. stems from the fact that you have a incompatible version of ImageMagick installed which does not work with RMagick. The solution would be to uninstall any existing ImageMagick and/or RMagick gem, and start all over as described below.</p>
<p>Issue B. tells me that either ImageMagick or RMagick is not installed properly.</p>
<p>Issue C. is a bit off and has nothing to do with ImageMagick or RMagick. It is probably being thrown by the plugin or application that you are using that needs ImageMagick or RMagick. To fix this issue, just install Sqlite3 and I have a <a href="http://rails.webintellix.com/index.php/2009/05/install-sqlite3-on-windows/" target="_blank">post</a> just for that.</p>
<p>Now that we have tackled the issues, let&#8217;s get to the goal &#8211; how to install RMagick + ImageMagick on Windows.</p>
<ol>
<li>1. Uninstall any Image Magick or RMagick gem from before.</li>
<li>Download rmagick-win32 for windows that has the gem and the ImageMagick installer from <a href="http://rubyforge.org/frs/download.php/64917/RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip" target="_blank">http://rubyforge.org/frs/download.php/64917/RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip</a></li>
<li>Unzip the rmagick-win32 zip file that you downloaded above.</li>
<li>Install the ImageMagick from the installer that came in the zip i.e. run the ImageMagick-6.5.6-8-Q8-windows-dll.exe. This will install ImageMagick for you.</li>
<li>Now, we need to install the rmagic gem that came in the zip i.e. rmagick-2.12.0-x86-mswin32.gem. To do that, run the following command on a windows command line:<br />
<code>&gt; gem install &lt;path where you downloaded and then unzipped the rmagick zip&gt;\rmagick-2.12.0-x86-mswin32.gem<br />
</code>Note: When you read this post, the version nos. of the gem and the zip file may change. Please adjust your commands for that.</li>
<li>If you get Issue C., from above you probably are left with installing Sqlite3. If you need help you can look up my <a href="http://rails.webintellix.com/index.php/2009/05/install-sqlite3-on-windows/" target="_blank">post</a>.</li>
<p>That should get you going. Yet another big Ruby on Rails development hurdle on Windows, solved for good. If you have any other issues or questions regarding the subject, please let me know via comments. I will try my best to help you.</ol>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2010/01/04/how-to-install-rmagick-imagemagick-on-windows/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Rails Magazine releases free Issue #5 digital edition</title>
		<link>http://rails.webintellix.com/2009/12/28/rails-magazine-releases-free-issue-5-digital-edition/</link>
		<comments>http://rails.webintellix.com/2009/12/28/rails-magazine-releases-free-issue-5-digital-edition/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 15:00:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[rails magazine]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/12/rails-magazine-releases-free-issue-5-digital-edition/</guid>
		<description><![CDATA[ Themed in beautiful Winter art and pictures, Rails Magazine released their Issue #5 free digital edition to the whole Ruby and Rails community worldwide.
It is the largest issue since we started, with a whopping 65 pages in full-color, of excellent articles from various authors covering various topics.
It is a Holiday gift from Rails Magazine [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;headline=Rails+Magazine+releases+free+Issue+%235+digital+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F&amp;title=Rails+Magazine+releases+free+Issue+%235+digital+edition&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F12%2F28%2Frails-magazine-releases-free-issue-5-digital-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p><a href="http://webintellix.com/blog_rails/wp-content/uploads/2009/12/railsmagazinecover5.png"><img style="margin: 0px 10px 0px 0px; display: inline; border: 0px;" title="railsmagazine-cover5" src="http://webintellix.com/blog_rails/wp-content/uploads/2009/12/railsmagazinecover5-thumb.png" border="0" alt="railsmagazine-cover5" width="189" height="244" align="left" /></a> Themed in beautiful Winter art and pictures, <a href="http://www.railsmagazine.com" target="_blank">Rails Magazine</a> released their <a href="http://www.railsmagazine.com/issues/5" target="_blank">Issue #5</a> free digital edition to the whole Ruby and Rails community worldwide.</p>
<p>It is the largest issue since we started, with a whopping 65 pages in full-color, of excellent articles from various authors covering various topics.</p>
<p>It is a Holiday gift from <a href="http://www.railsmagazine.com" target="_blank">Rails Magazine</a> to all of the Ruby and Rails enthusiasts. You can download the print edition from <a href="http://www.railsmagazine.com/issues/5" target="_blank">here</a>.</p>
<p>This issue covers various topics and builds upon earlier articles in the series. The following is a synopsis of the material available in this issue:</p>
<ul>
<li><em>Authentication with Gigya</em> by Curtis Jennings Schofield</li>
<li><em>Background Processing in Rails</em> by Erik Andrejko</li>
<li><em>On Your Rails (and Ruby) Education</em> by Bob Martens</li>
<li><em>Sinatra: Fast Web Application in Ruby</em> by Carlo Pecchia</li>
<li><em>Sprockets</em> by Starr Horne</li>
<li><em>Adding Pre-made Extensions to Radiant CMS</em> by Casper Fabricius</li>
<li><em>Protecting Your Application From Impostors</em> by Gavin Morrice</li>
<li><em>Geography division select tag</em> by Satish Kota</li>
<li><em>RailsBridge: Rebooting the Rails Community</em> by Mike Gunderloy</li>
<li><em>Prince: Powerful PDF Generation</em> by Michael Bleigh</li>
<li><em>Ruby C Extension Development</em> by Claudio Fiorini</li>
<li><em>Using the Twitter API with Ruby</em> by Brian Rivard</li>
<li><em>Continuous Integration Tools in Rails</em> by Saurabh Bhatia</li>
<li><em>Active Scaffold</em> by Payal Gupta</li>
<li><em>Implement a Full Text Search Engine with Xapian</em> by Amit Mathur</li>
</ul>
<p>Keeping up with the spirit, we are trying to get the schedule for the magazine a bit more predictable. We are hoping we can get out 6 issues or even 12 issues for the coming year. Time will tell. But, whatever the schedule is or however many issues we can release, we will surely make sure we get quality content over to our readers.</p>
<p>We welcome new authors to write for us. Please contact me (rupak /dot/ ganguly /at/ railsmagazine /dot/ com) or Olimpiu Metiu (<a href="mailto:editor@railsmagazine.com">editor /at/  railsmagazine /dot/ com</a> for details. You can also visit the official website for <a href="http://www.railsmagazine.com" target="_blank">Rails Magazine</a>.</p>
<p>If you have any feedback, please do write to us or participate in the <a href="http://survey.railsmagazine.com">survey</a> to tells us what you want to read.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/12/28/rails-magazine-releases-free-issue-5-digital-edition/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Happy Thanksgiving &#8211; This year I am thankful for&#8230;</title>
		<link>http://rails.webintellix.com/2009/11/26/happy-thanksgiving-this-year-i-am-thankful-for/</link>
		<comments>http://rails.webintellix.com/2009/11/26/happy-thanksgiving-this-year-i-am-thankful-for/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 05:13:18 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/11/happy-thanksgiving-this-year-i-am-thankful-for/</guid>
		<description><![CDATA[digg_url = "http://rails.webintellix.com/index.php/2009/11/happy-thanksgiving-this-year-i-am-thankful-for/";digg_title = "Happy Thanksgiving - This year I am thankful for…";digg_bgcolor = "#000000";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;
It is the festive time of the year. With leaves turning colors and trees going bald thereafter, the season ushers the festivities – Diwali, Durga Puja, Halloween, Thanksgiving and finally Christmas.
Well, [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F&amp;title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F&amp;title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F&amp;title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F&amp;headline=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F&amp;title=Happy+Thanksgiving+-+This+year+I+am+thankful+for%26%238230%3B&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F11%2F26%2Fhappy-thanksgiving-this-year-i-am-thankful-for%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><div class="wlWriterHeaderFooter" style="float:right; margin:0px; padding:0px 0px 4px 8px;"><script type="text/javascript">digg_url = "http://rails.webintellix.com/index.php/2009/11/happy-thanksgiving-this-year-i-am-thankful-for/";digg_title = "Happy Thanksgiving - This year I am thankful for…";digg_bgcolor = "#000000";digg_skin = "normal";</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script><script type="text/javascript">digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;</script></div>
<p>It is the festive time of the year. With leaves turning colors and trees going bald thereafter, the season ushers the festivities – Diwali, Durga Puja, Halloween, Thanksgiving and finally Christmas.</p>
<p>Well, it is Thanksgiving and it is customary to thank people who touched your lives. On the personal front, I am thankful to my wife for being a great companion and for being the love of my life. I am thankful to my beautiful kids to be part of my life. I am thankful to my dad, mom and sister for their blessings and love. I am thankful to all my friends for being there for me, supporting me and being part of my life. Above all, I thank God for everything he has bestowed upon me and my family.</p>
<p>On the professional front, it has been a great year for me. It was the year I planned to step up my freelancing efforts. I was blessed and I nailed a few projects. During the course of the year, while I dabbled in code, I am thankful to a lot of people. </p>
<p>I am thankful for the great plugins by Rick Olson (technoweenie) and John Nunemaker, that I used in my projects. I am thankful to the team behind <a href="http://aptana.com/" target="_blank">Aptana</a> for providing an excellent Ruby on Rails IDE for free. I am thankful to Ryan Bates for his invaluable screencasts at <a href="http://www.railscasts.com" target="_blank">Railscasts.com</a> which has helped in numerous occasions. I am thankful to <a href="http://www.unfuddle.com" target="_blank">Unfuddle</a> and <a href="http://www.github.com" target="_blank">Github</a> for hosting the source code for my projects for free. I am thankful to the numerous bloggers who&#8217;s postings have inspired me and helped me learn along the way.</p>
<p>I am thankful to Olimpiu Metio at <a href="http://www.railsmagazine.com" target="_blank">Rails Magazine</a> to make me part of the editorial team. I am thankful to the great team members Bob Martens, John Yerhot, Khaled al Habache, Mark Coates, Starr Horne and Carlo Pecchia at Rails Magazine. We had a blast. By the way, Issue #5 coming soon in Dec. I am thankful to all the authors for their cooperation and all the people I interviewed for their time.</p>
<p>I am thankful to <a href="http://railsbridge.org/" target="_blank">RailsBridge</a> <a href="http://builders.railsbridge.org/" target="_blank">Builders</a> for giving me an opportunity to work on open source projects and helping non-profit organizations. I would like to thank Mike Gunderloy for his leadership and vision for RailsBridge. I would like thank Mike Breen for his help and support in various projects. </p>
<p>I am thankful to Sarah Allen, Grace Liu, Chris Lerum, Thomas Jack and Petros Amiridis for an excellent team experience while working on <a href="http://builders.railsbridge.org/projects/6" target="_blank">Sunset PTA</a> project. I learned a lot in team work and gained insight in working with people in different time zones.</p>
<p>I want to also thank my good friend <a href="http://www.wynnnetherland.com" target="_blank">Wynn Netherland</a> for keeping my hopes high, giving me advice, showing me the path and encouraging me. Thanks a lot for inspiring me with your work.</p>
<p>Finally, last but not the least, I want to thank all that have subscribed to this blog and my other <a href="http://blog.webintellix.com" target="_blank">blog</a>, followed my <a href="http://www.twitter.com/rupakg" target="_blank">tweets</a> and encouraged me with their comments and feedback. Please keep them coming. </p>
<p>I wish you all a very Happy Thanksgiving!</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/11/26/happy-thanksgiving-this-year-i-am-thankful-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Magazine releases Issue #4 in print edition</title>
		<link>http://rails.webintellix.com/2009/08/31/rails-magazine-releases-issue-4-in-print-edition/</link>
		<comments>http://rails.webintellix.com/2009/08/31/rails-magazine-releases-issue-4-in-print-edition/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 22:33:00 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[rails magazine]]></category>
		<category><![CDATA[interviews]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[RubyKaigi 2009]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/08/rails-magazine-releases-issue-4-in-print-edition/</guid>
		<description><![CDATA[ Dubbed as “Future of Rails”, Rails Magazine released Issue #4 in print. You can download the print edition from here. This issue brings 32-pages, filled with exclusive RubyKaigi 2009 conference coverage, in-depth articles, interviews with David Heinemeier Hansson, Matz, Yehuda Katz, Tom Enebo and Koichi Sasada.
The RubyKaigi 2009 coverage provides a nice roundup about [...]]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;headline=Rails+Magazine+releases+Issue+%234+in+print+edition" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F&amp;title=Rails+Magazine+releases+Issue+%234+in+print+edition&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F31%2Frails-magazine-releases-issue-4-in-print-edition%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p><a href="http://www.railsmagazine.com/issues/4"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 10px; display: inline; border-top: 0px; border-right: 0px" title="railsmagazine-cover4" src="http://webintellix.com/blog_rails/wp-content/uploads/2009/08/railsmagazinecover4.png" border="0" alt="railsmagazine-cover4" width="188" height="244" align="right" /></a> Dubbed as “Future of Rails”, Rails Magazine released Issue #4 in print. You can download the print edition from <a href="http://www.railsmagazine.com/issues/4" target="_blank">here</a>. This issue brings 32-pages, filled with exclusive RubyKaigi 2009 conference coverage, in-depth articles, interviews with David Heinemeier Hansson, Matz, Yehuda Katz, Tom Enebo and Koichi Sasada.</p>
<p>The RubyKaigi 2009 coverage provides a nice roundup about the conference with articles, photos and session information. The interviews are great giving insights into Rails 3, Ruby 1.9 and JRuby. And, last but not the least, this issue also brings a wealth of knowledge via the fine articles on various topics.</p>
<p>I thoroughly enjoyed interviewing Yehuda Katz and Tom Enebo and I thank them both for their participation.</p>
<p>If you have any feedback, please do write to us or participate in the <a href="http://survey.railsmagazine.com" target="_blank">survey</a> to tells us what you want to read.</p>
<p>Please be on the lookout for the <strong>free downloadable digital version</strong> which will be released soon!</p>
<p><strong><span style="font-size: small;">Table of Contents</span>:</strong></p>
<p><em><a href="http://www.railsmagazine.com/articles/37">A Word From the Editor</a></em> by Olimpiu Metiu</p>
<p><em><a href="http://www.railsmagazine.com/articles/38">Background Processing with Delayed_Job</a></em> by James Harrison</p>
<p><em><a href="http://www.railsmagazine.com/articles/39">Generating PDF with ODF templates</a></em> by Rodrigo Rosenfeld Rosas</p>
<p><em><a href="http://www.railsmagazine.com/articles/40">Interview with Yehuda Katz</a></em> by Yehuda Katz and Rupak Ganguly</p>
<p><em><a href="http://www.railsmagazine.com/articles/41">Interview with David Heinemeier Hansson</a></em> by Mark Coates</p>
<p><em><a href="http://www.railsmagazine.com/articles/42">Feel the Radiance with Radiant CMS</a></em> by Saurabh Bhatia</p>
<p><em><a href="http://www.railsmagazine.com/articles/43">Interview with Thomas Enebo</a></em> by Thomas Enebo and Rupak Ganguly</p>
<p><em><a href="http://www.railsmagazine.com/articles/44">Oracle Tips and Tricks</a></em> by Greg Donald</p>
<p><em><a href="http://www.railsmagazine.com/articles/45">Ruby Kaigi Rails Magazine Exclusive Coverage</a></em> by Khaled al Habache</p>
<p><em><a href="http://www.railsmagazine.com/articles/46">RubyKaigi 2009 Roundup</a></em> by Ehab El-Badry</p>
<p><em><a href="http://www.railsmagazine.com/articles/47">Interview with Matz</a></em> by Yukihiro Matsumoto and Muhammad Ali</p>
<p><em><a href="http://www.railsmagazine.com/articles/48">Interview with Koichi Sasada</a></em> by Koichi Sasada and Muhammad Ali</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/08/31/rails-magazine-releases-issue-4-in-print-edition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tip: has_one and nested form/attributes</title>
		<link>http://rails.webintellix.com/2009/08/15/tip-has_one-and-nested-formattributes/</link>
		<comments>http://rails.webintellix.com/2009/08/15/tip-has_one-and-nested-formattributes/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 18:59:35 +0000</pubDate>
		<dc:creator>Rupak Ganguly</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://rails.webintellix.com/index.php/2009/08/tip-has_one-and-nested-formattributes/</guid>
		<description><![CDATA[Although, the usage of nested forms with has_many associations is well documented, I found that especially the call ..build that works for has_many associations do not work for has_one associations. For the code to work for has_one associations, use this instead:.build_E.g book.build_author where book has_one association to author.
Hope this helps.
]]></description>
			<content:encoded><![CDATA[<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;headline=Tip%3A+has_one+and+nested+form%2Fattributes" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Tip%3A+has_one+and+nested+form%2Fattributes&amp;u=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Tip%3A+has_one+and+nested+form%2Fattributes&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F&amp;title=Tip%3A+has_one+and+nested+form%2Fattributes&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Frails.webintellix.com%2F2009%2F08%2F15%2Ftip-has_one-and-nested-formattributes%2F" ><img class="lightsocial_img" src="http://rails.webintellix.com/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div><p>Although, the usage of nested forms with has_many associations is well documented, I found that especially the call <model>.<associated_model>.build that works for has_many associations do not work for has_one associations. For the code to work for has_one associations, use this instead:<br /><model>.build_<associated_model><br />E.g book.build_author where book has_one association to author.</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://rails.webintellix.com/2009/08/15/tip-has_one-and-nested-formattributes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
