<?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>Dare to Dream? &#187; Rails</title>
	<atom:link href="http://www.makuchaku.in/blog/category/rails/feed" rel="self" type="application/rss+xml" />
	<link>http://www.makuchaku.in/blog</link>
	<description>ख्वाब देखने की हिम्मत  ....उन्हें पाने का जोश.</description>
	<lastBuildDate>Mon, 30 Aug 2010 17:54:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Getting around the dreaded Operation Aborted error in Internet Explorer with Ruby on Rails</title>
		<link>http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails</link>
		<comments>http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails#comments</comments>
		<pubDate>Wed, 16 Jun 2010 17:17:34 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[AdoMado]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[for-adomado]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=910</guid>
		<description><![CDATA[If you have ever experienced this&#8230; &#8230;you know how painful it is to debug and rectify. This error was so common that Microsoft created a knowledge base (KB927917) article for this. It even has a dedicated explanation at the IE Blog. The error basically is &#8211; &#8220;HTML Parsing Error: Unable to modify the parent container [...]


Related posts:<ol><li><a href='http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app' rel='bookmark' title='Permanent Link: Authentication using Google Accounts for your Rails App'>Authentication using Google Accounts for your Rails App</a> <small>The methodology is very simple. Redirect the user to grant...</small></li>
<li><a href='http://www.makuchaku.in/blog/adomado%e2%80%a6-the-next-phase-2' rel='bookmark' title='Permanent Link: AdoMado… the Next Phase!!'>AdoMado… the Next Phase!!</a> <small>Hey everyone!! Last week we embarked on the next phase...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you have ever experienced this&#8230;</p>
<p><img src="http://ieblog.members.winisp.net/images/ie7_operation_aborted.png" alt="" width="579" height="354" /></p>
<p>&#8230;you know how painful it is to debug and rectify.</p>
<p>This error was so common that Microsoft created a knowledge base (<code><a href="http://support.microsoft.com/kb/927917/en-us" target="_blank">KB927917</a>)</code> article for this. It even has a dedicated explanation at the <a href="http://blogs.msdn.com/b/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx" target="_blank">IE Blog</a>. The error basically is &#8211; &#8220;HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)&#8221;.</p>
<p>While building the Social sharing plugins for <a href="http://adomado.com">AdoMado</a>, we were facing similar problems. Anywhere FB share, Orkut share or Digg buttons were being used, IE was complaining of exactly the same problem. Since social share plugins are the backbone of our community building process, fixing this ASAP was high on my agenda.</p>
<p>NOTE &#8211; There was no such problem on any version of Firefox or Chrome.</p>
<p>If you notice the IE blog entry, they mention that</p>
<blockquote><p>Moving the location of your script block to a child of the body (this usually solves most problems, while allowing the most flexibility in terms of scenarios).</p></blockquote>
<p>can be a possible solution.</p>
<p>Cool! But how do we reach here? My javascripts were spread all over the place!</p>
<p>First things first&#8230; I refactored the code in such a way that all possible usage of problem causing scripts was moved to one single partial. Now error was originating from only one location. The fix, as mentioned on the IE blog &#8211; was then straight forward.</p>
<p><strong>In your layout, just before closing the BODY tag, use the &#8220;yield&#8221; block to render any such javascript &#8211; and render all such scripts into this &#8220;yield&#8221; block.</strong></p>
<p>Here are some screen captures from our codebase&#8230;</p>
<p><a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_002.png"><img class="alignnone size-full wp-image-911" title="yield" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_002.png" alt="" width="432" height="235" /></a><br />
Notice the &#8220;yield :delayed_loading&#8221; block&#8230;</p>
<p><a href="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_003.png"><img class="alignnone size-full wp-image-912" title="delayed_loading" src="http://www.makuchaku.in/blog/wp-content/uploads/2010/06/screenshot_003.png" alt="" width="455" height="92" /></a><br />
Yield&#8217;ing to delayed_loading block.</p>
<p>If you browse over to our offer &#8211; <a href="http://adomado.com/offers/show/3-free_sms-send_free_sms?p=840d2f20-d7a3-11de-9518-12313902b1e7" target="_blank">Send Ad Free SMS</a> using IE, you will notice that you see no such error. All the social share plugins render in harmony.<br />
I&#8217;ve even thrown in a little jQuery fadeIn magic <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Getting+around+the+dreaded+Operation+Aborted+error+in+Internet+Explorer+with+Ruby+on+Rails+http://bit.ly/9cvM5e" title="Post to Twitter"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&amp;title=Getting+around+the+dreaded+Operation+Aborted+error+in+Internet+Explorer+with+Ruby+on+Rails" title="Post to Delicious"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&amp;title=Getting+around+the+dreaded+Operation+Aborted+error+in+Internet+Explorer+with+Ruby+on+Rails" title="Post to Digg"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&amp;t=Getting+around+the+dreaded+Operation+Aborted+error+in+Internet+Explorer+with+Ruby+on+Rails" title="Post to Facebook"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big4.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&amp;t=Getting+around+the+dreaded+Operation+Aborted+error+in+Internet+Explorer+with+Ruby+on+Rails" title="Post to MySpace"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-myspace-big4.png" alt="Post to MySpace" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&amp;title=Getting+around+the+dreaded+Operation+Aborted+error+in+Internet+Explorer+with+Ruby+on+Rails" title="Post to Reddit"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big4.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails&amp;title=Getting+around+the+dreaded+Operation+Aborted+error+in+Internet+Explorer+with+Ruby+on+Rails" title="Post to StumbleUpon"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>

<p>Related posts:<ol><li><a href='http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app' rel='bookmark' title='Permanent Link: Authentication using Google Accounts for your Rails App'>Authentication using Google Accounts for your Rails App</a> <small>The methodology is very simple. Redirect the user to grant...</small></li>
<li><a href='http://www.makuchaku.in/blog/adomado%e2%80%a6-the-next-phase-2' rel='bookmark' title='Permanent Link: AdoMado… the Next Phase!!'>AdoMado… the Next Phase!!</a> <small>Hey everyone!! Last week we embarked on the next phase...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/getting-around-the-dreaded-operation-aborted-error-in-internet-explorer-with-ruby-on-rails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning from the best!</title>
		<link>http://www.makuchaku.in/blog/learning-from-the-best</link>
		<comments>http://www.makuchaku.in/blog/learning-from-the-best#comments</comments>
		<pubDate>Fri, 12 Feb 2010 04:58:47 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=830</guid>
		<description><![CDATA[Just bought &#8220;Programming Ruby 1.9&#8221; from Flipkart. From For Blog When I joined IBM ISS UI team and my tech lead suggested that we should start doing things in Rails- and I was prompt enough to pop up a suggestion &#8211; &#8220;that why don&#8217;t we use Python based web app frameworks Django or Turbo Gears [...]


Related posts:<ol><li><a href='http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty' rel='bookmark' title='Permanent Link: Location of Rubygems in Ubuntu Jaunty'>Location of Rubygems in Ubuntu Jaunty</a> <small>With Jaunty, the location of installed gems has been moved...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Just bought &#8220;<a href="http://www.pragprog.com/titles/ruby3/programming-ruby-1-9" target="_blank">Programming Ruby 1.9</a>&#8221; from <a href="http://www.flipkart.com/programming-ruby-dave-thomas-chad/1934356085-o2x3fjgnvc" target="_blank">Flipkart</a>.</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/RThH0Xbmw7BjgWz0a62Iag?feat=embedwebsite"><img src="http://lh6.ggpht.com/_RWv_ppZ2Nxo/S3TcGzgiP8I/AAAAAAAAAXY/M7thSJxGPC4/s400/ruby_book.jpg" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/makuchaku.in/ForBlog?feat=embedwebsite">For Blog</a></td>
</tr>
</tbody>
</table>
<p>When I joined IBM ISS UI team and my tech lead suggested that we should start doing things in Rails- and I was prompt enough to pop up a suggestion &#8211; &#8220;that why don&#8217;t we use <a href="http://wiki.python.org/moin/WebFrameworks" target="_blank">Python based web app frameworks</a> Django or Turbo Gears (as I had some python experience)&#8221;.</p>
<p>All he replied was &#8211; &#8220;when we are looking for the best framework, why not use the one everyone&#8217;s trying to become&#8221;.</p>
<p>And hence, the awesome journey to Rails began.<br />
Understanding Ruby better will make it so much more fun.</p>
<p>PS: No disrespect meant to the awesome work being put in by the Python community. Python rocks! So does Ruby!</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Learning+from+the+best...+http://bit.ly/aAJCCC" title="Post to Twitter"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.makuchaku.in/blog/learning-from-the-best&amp;title=Learning+from+the+best..." title="Post to Delicious"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.makuchaku.in/blog/learning-from-the-best&amp;title=Learning+from+the+best..." title="Post to Digg"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.makuchaku.in/blog/learning-from-the-best&amp;t=Learning+from+the+best..." title="Post to Facebook"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big4.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.makuchaku.in/blog/learning-from-the-best&amp;t=Learning+from+the+best..." title="Post to MySpace"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-myspace-big4.png" alt="Post to MySpace" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.makuchaku.in/blog/learning-from-the-best&amp;title=Learning+from+the+best..." title="Post to Reddit"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big4.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.makuchaku.in/blog/learning-from-the-best&amp;title=Learning+from+the+best..." title="Post to StumbleUpon"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>

<p>Related posts:<ol><li><a href='http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty' rel='bookmark' title='Permanent Link: Location of Rubygems in Ubuntu Jaunty'>Location of Rubygems in Ubuntu Jaunty</a> <small>With Jaunty, the location of installed gems has been moved...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/learning-from-the-best/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An IDE which suggests best code practices, shows a diff and lets you selectively apply&#8230;</title>
		<link>http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply</link>
		<comments>http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply#comments</comments>
		<pubDate>Mon, 19 Oct 2009 08:28:08 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[IDE]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=801</guid>
		<description><![CDATA[No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.netbeans.org/downloads/indexB.html"><img class="aligncenter" src="http://www.netbeans.org/images/v6/community/netbeans-banner.jpg" border="0" alt="" /></a></p>
<div id="attachment_802" class="wp-caption alignleft" style="width: 958px"><a href="http://www.makuchaku.in/blog/wp-content/uploads/2009/10/nb.png"><img class="size-full wp-image-802" title="NetBeans code modification suggestion" src="http://www.makuchaku.in/blog/wp-content/uploads/2009/10/nb.png" alt="NetBeans code modification suggestion" width="948" height="585" /></a><p class="wp-caption-text">NetBeans code modification suggestion</p></div>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=An+IDE+which+suggests+best+code+practices%2C+shows+a+diff+and+lets+you+selectively+apply...+http://bit.ly/4r3fwW" title="Post to Twitter"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply&amp;title=An+IDE+which+suggests+best+code+practices%2C+shows+a+diff+and+lets+you+selectively+apply..." title="Post to Delicious"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply&amp;title=An+IDE+which+suggests+best+code+practices%2C+shows+a+diff+and+lets+you+selectively+apply..." title="Post to Digg"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply&amp;t=An+IDE+which+suggests+best+code+practices%2C+shows+a+diff+and+lets+you+selectively+apply..." title="Post to Facebook"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big4.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply&amp;t=An+IDE+which+suggests+best+code+practices%2C+shows+a+diff+and+lets+you+selectively+apply..." title="Post to MySpace"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-myspace-big4.png" alt="Post to MySpace" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply&amp;title=An+IDE+which+suggests+best+code+practices%2C+shows+a+diff+and+lets+you+selectively+apply..." title="Post to Reddit"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big4.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply&amp;title=An+IDE+which+suggests+best+code+practices%2C+shows+a+diff+and+lets+you+selectively+apply..." title="Post to StumbleUpon"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/an-ide-which-suggests-best-code-practices-shows-a-diff-and-lets-you-selectively-apply/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmer Happiness &#8211; onroad to Rails3</title>
		<link>http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3</link>
		<comments>http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3#comments</comments>
		<pubDate>Thu, 08 Oct 2009 14:25:50 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=795</guid>
		<description><![CDATA[Medium: www.vimeo.com Link: www.vimeo.com Rails 3 Update by Yehuda Katz from Wind City Rails 2009 You just can&#8217;t ignore his style of explaining things! Related posts:Location of Rubygems in Ubuntu Jaunty With Jaunty, the location of installed gems has been moved... Related posts brought to you by Yet Another Related Posts Plugin.


Related posts:<ol><li><a href='http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty' rel='bookmark' title='Permanent Link: Location of Rubygems in Ubuntu Jaunty'>Location of Rubygems in Ubuntu Jaunty</a> <small>With Jaunty, the location of installed gems has been moved...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><object type="application/x-shockwave-flash" width="400" height="300" data="http://www.vimeo.com/moogaloop.swf?clip_id=6703956&amp;server=vimeo.com"><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=6703956&amp;server=vimeo.com" /><param name="quality" value="high" />Medium: www.vimeo.com</object>
<br />Link: <a href="http://www.vimeo.com/6703956">www.vimeo.com</a></p>
<p><a href="http://vimeo.com/6703956">Rails 3 Update by Yehuda Katz</a> from <a href="http://windycityrails.org/videos">Wind City Rails 2009</a></p>
<p>You just can&#8217;t ignore his style of explaining things! <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Programmer+Happiness+%E2%80%93+onroad+to+Rails3+http://bit.ly/4wU2mi" title="Post to Twitter"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3&amp;title=Programmer+Happiness+%E2%80%93+onroad+to+Rails3" title="Post to Delicious"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3&amp;title=Programmer+Happiness+%E2%80%93+onroad+to+Rails3" title="Post to Digg"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3&amp;t=Programmer+Happiness+%E2%80%93+onroad+to+Rails3" title="Post to Facebook"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big4.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3&amp;t=Programmer+Happiness+%E2%80%93+onroad+to+Rails3" title="Post to MySpace"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-myspace-big4.png" alt="Post to MySpace" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3&amp;title=Programmer+Happiness+%E2%80%93+onroad+to+Rails3" title="Post to Reddit"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big4.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3&amp;title=Programmer+Happiness+%E2%80%93+onroad+to+Rails3" title="Post to StumbleUpon"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>

<p>Related posts:<ol><li><a href='http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty' rel='bookmark' title='Permanent Link: Location of Rubygems in Ubuntu Jaunty'>Location of Rubygems in Ubuntu Jaunty</a> <small>With Jaunty, the location of installed gems has been moved...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authentication using Google Accounts for your Rails App</title>
		<link>http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app</link>
		<comments>http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app#comments</comments>
		<pubDate>Sun, 27 Sep 2009 20:02:15 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[AuthSub]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=771</guid>
		<description><![CDATA[The methodology is very simple. Redirect the user to grant access to your app for a particular Google service. Once access is granted, use the authentication token to retrieve information related to the user. I demonstrate this with a very simple &#38; idiotic Sinatra app which actually does nothing intelligent &#8211; apart from just outputting [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The methodology is very simple.</p>
<ol>
<li>Redirect the user to grant access to your app for a particular Google service.</li>
<li>Once access is granted, use the authentication token to retrieve information related to the user.</li>
</ol>
<p>I demonstrate this with a very simple &amp; idiotic Sinatra app which actually does nothing intelligent &#8211; apart from just outputting first 10 contacts from the user&#8217;s address book.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">require</span> <span class="st0">&#8216;rubygems&#8217;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">require</span> <span class="st0">&#8216;sinatra&#8217;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">require</span> <span class="st0">&quot;gdata&quot;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">client = <span class="re2">GData::Client::Contacts</span>.<span class="me1">new</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">get <span class="st0">&quot;/&quot;</span> <span class="kw1">do</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; next_url = <span class="st0">&#8216;http://127.0.0.1:4567/app&#8217;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; secure = <span class="kw2">false</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; session = <span class="kw2">true</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; authsub_link = client.<span class="me1">authsub_url</span><span class="br0">&#40;</span>next_url, secure, session, <span class="kw2">nil</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; redirect<span class="br0">&#40;</span>authsub_link<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">end</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">get <span class="st0">&#8216;/app&#8217;</span> <span class="kw1">do</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; pp request.<span class="me1">env</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; client.<span class="me1">authsub_token</span> = request.<span class="me1">env</span><span class="br0">&#91;</span><span class="st0">&quot;rack.request.query_hash&quot;</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&quot;token&quot;</span><span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; client.<span class="me1">authsub_token</span> = client.<span class="me1">auth_handler</span>.<span class="me1">upgrade</span><span class="br0">&#40;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; contacts = client.<span class="me1">get</span><span class="br0">&#40;</span><span class="st0">&quot;http://www.google.com/m8/feeds/contacts/default/full?max-results=5&quot;</span><span class="br0">&#41;</span>.<span class="me1">to_xml</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; <span class="kw3">puts</span> contacts</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">end</span></div>
</li>
</ol>
</div>
<p>More information about using <a href="http://code.google.com/p/gdata-ruby-util/">GData</a> is available at <a href="http://code.google.com/apis/gdata/articles/gdata_on_rails.html">http://code.google.com/apis/gdata/articles/gdata_on_rails.html</a></p>
<p>Example scenarios this can be used?</p>
<ul>
<li>Allowing people to login into your app with their existing google account.</li>
<li>Accessing user data with user&#8217;s permission</li>
<li>Signing up for your app using Google account information</li>
</ul>
<p>Happy Hacking!</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Authentication+using+Google+Accounts+for+your+Rails+App+http://bit.ly/dPwTK" title="Post to Twitter"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app&amp;title=Authentication+using+Google+Accounts+for+your+Rails+App" title="Post to Delicious"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app&amp;title=Authentication+using+Google+Accounts+for+your+Rails+App" title="Post to Digg"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app&amp;t=Authentication+using+Google+Accounts+for+your+Rails+App" title="Post to Facebook"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big4.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app&amp;t=Authentication+using+Google+Accounts+for+your+Rails+App" title="Post to MySpace"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-myspace-big4.png" alt="Post to MySpace" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app&amp;title=Authentication+using+Google+Accounts+for+your+Rails+App" title="Post to Reddit"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big4.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app&amp;title=Authentication+using+Google+Accounts+for+your+Rails+App" title="Post to StumbleUpon"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/authentication-using-google-accounts-for-your-rails-app/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Location of Rubygems in Ubuntu Jaunty</title>
		<link>http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty</link>
		<comments>http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty#comments</comments>
		<pubDate>Sun, 27 Sep 2009 14:19:49 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty</guid>
		<description><![CDATA[With Jaunty, the location of installed gems has been moved to /var/lib/gems while it was /usr/lib/ruby in releases before. Please follow http://intertwingly.net/blog/2009/04/25/Rails-on-Jaunty for more on how to rectify the problem that might arise. No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>With Jaunty, the location of installed gems has been moved to /var/lib/gems while it was /usr/lib/ruby in releases before.<br />
Please follow <a href="http://intertwingly.net/blog/2009/04/25/Rails-on-Jaunty" target="_blank">http://intertwingly.net/blog/2009/04/25/Rails-on-Jaunty</a> for more on how to rectify the problem that might arise.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Location+of+Rubygems+in+Ubuntu+Jaunty+http://bit.ly/10mnuT" title="Post to Twitter"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty&amp;title=Location+of+Rubygems+in+Ubuntu+Jaunty" title="Post to Delicious"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty&amp;title=Location+of+Rubygems+in+Ubuntu+Jaunty" title="Post to Digg"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty&amp;t=Location+of+Rubygems+in+Ubuntu+Jaunty" title="Post to Facebook"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big4.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.myspace.com/Modules/PostTo/Pages/?l=3&amp;u=http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty&amp;t=Location+of+Rubygems+in+Ubuntu+Jaunty" title="Post to MySpace"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-myspace-big4.png" alt="Post to MySpace" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty&amp;title=Location+of+Rubygems+in+Ubuntu+Jaunty" title="Post to Reddit"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big4.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty&amp;title=Location+of+Rubygems+in+Ubuntu+Jaunty" title="Post to StumbleUpon"><img class="nothumb" src="http://www.makuchaku.in/blog/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/location-of-rubygems-in-ubuntu-jaunty/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
