<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WebOnRails</title>
	
	<link>http://webonrails.com</link>
	<description>Its all about Ruby On Rails</description>
	<lastBuildDate>Thu, 12 Nov 2009 13:10:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/WebOnRails" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Displaying information about your git repository</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/LwEvGcyGEmk/</link>
		<comments>http://webonrails.com/2009/11/12/displaying-information-about-your-git-repository/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 13:09:15 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[utility scripts]]></category>
		<category><![CDATA[ROR]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Rubyonrails]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=332</guid>
		<description><![CDATA[Want to see information about your git repository?
Based on a discussion here Duane Johnson wrote a very useful bash script.  I am using this script from months and would like to share with you. You can download this script here.
You can also add an alias like below, so that I can be a accessed [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/tgFK_T18Iyk51a8nRFLEYBhV76s/0/da"><img src="http://feedads.g.doubleclick.net/~a/tgFK_T18Iyk51a8nRFLEYBhV76s/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tgFK_T18Iyk51a8nRFLEYBhV76s/1/da"><img src="http://feedads.g.doubleclick.net/~a/tgFK_T18Iyk51a8nRFLEYBhV76s/1/di" border="0" ismap="true"></img></a></p><p>Want to see information about your git repository?</p>
<p>Based on a discussion <a href="http://kerneltrap.org/mailarchive/git/2007/11/12/406496">here</a> Duane Johnson wrote a very useful bash script.  I am using this script from months and would like to share with you. You can download this script here(<a class="downloadlink" href="http://webonrails.com/wp-content/plugins/download-monitor/download.php?id=8" title=" downloaded 1 times" >git-info.txt (1)</a>).</p>
<p>You can also add an alias like below, so that I can be a accessed by a single command &#8220;gitinfo&#8221;</p>
<pre class="brush: bash;">
alias gitinfo=&quot;/home/akhil/git-info.txt&quot;
</pre>
<p>When you run this script from your working copy it displays:</p>
<ul>
<li>Remote URL</li>
<li>Remote Branches</li>
<li>Local Branches</li>
<li>Configuration (.git/config)</li>
<li>Most Recent Commit</li>
</ul>
<p>Isn&#8217;t it useful, give it a try <img src='http://webonrails.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WebOnRails?a=LwEvGcyGEmk:oAep3JJ4kn0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=LwEvGcyGEmk:oAep3JJ4kn0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=LwEvGcyGEmk:oAep3JJ4kn0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=LwEvGcyGEmk:oAep3JJ4kn0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=LwEvGcyGEmk:oAep3JJ4kn0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=LwEvGcyGEmk:oAep3JJ4kn0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=LwEvGcyGEmk:oAep3JJ4kn0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=LwEvGcyGEmk:oAep3JJ4kn0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/LwEvGcyGEmk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/11/12/displaying-information-about-your-git-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/11/12/displaying-information-about-your-git-repository/</feedburner:origLink></item>
		<item>
		<title>Change timezone of ubuntu machine from command line</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/U8vYYEMHTaM/</link>
		<comments>http://webonrails.com/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 15:47:51 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Trick]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=303</guid>
		<description><![CDATA[If you guys want to change timezone of your ubuntu machine then you can do it by issuing:

dpkg-reconfigure tzdata

This may be helpful if you deal with servers.
]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/c3btMGsqWF5Gf6kTNDRACuKFa_A/0/da"><img src="http://feedads.g.doubleclick.net/~a/c3btMGsqWF5Gf6kTNDRACuKFa_A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/c3btMGsqWF5Gf6kTNDRACuKFa_A/1/da"><img src="http://feedads.g.doubleclick.net/~a/c3btMGsqWF5Gf6kTNDRACuKFa_A/1/di" border="0" ismap="true"></img></a></p><p>If you guys want to change timezone of your ubuntu machine then you can do it by issuing:</p>
<pre class="brush: bash;">
dpkg-reconfigure tzdata
</pre>
<p>This may be helpful if you deal with servers.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WebOnRails?a=U8vYYEMHTaM:E1y8i5LaVGs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=U8vYYEMHTaM:E1y8i5LaVGs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=U8vYYEMHTaM:E1y8i5LaVGs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=U8vYYEMHTaM:E1y8i5LaVGs:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=U8vYYEMHTaM:E1y8i5LaVGs:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=U8vYYEMHTaM:E1y8i5LaVGs:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=U8vYYEMHTaM:E1y8i5LaVGs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=U8vYYEMHTaM:E1y8i5LaVGs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/U8vYYEMHTaM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/</feedburner:origLink></item>
		<item>
		<title>Multiple versions of ruby on ubuntu</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/NdFPKIUcqfA/</link>
		<comments>http://webonrails.com/2009/06/23/multiple-versions-of-ruby-on-ubuntu/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 15:33:26 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[rails_plugin]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=300</guid>
		<description><![CDATA[Three-Four days ago I was in a situation where I need to have multiple versions of ruby and rubygems on my ubuntu machine. I was lucky, I found an awesome article http://blog.michaelgreenly.com/2008/08/multiple-versions-of-ruby-on-ubuntu-2.html. This really solved my problem, Many thanks to Michael Greenly.
]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/lcDFNTEc5Q_j2FL32HPGidEI9Ws/0/da"><img src="http://feedads.g.doubleclick.net/~a/lcDFNTEc5Q_j2FL32HPGidEI9Ws/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lcDFNTEc5Q_j2FL32HPGidEI9Ws/1/da"><img src="http://feedads.g.doubleclick.net/~a/lcDFNTEc5Q_j2FL32HPGidEI9Ws/1/di" border="0" ismap="true"></img></a></p><p>Three-Four days ago I was in a situation where I need to have multiple versions of ruby and rubygems on my ubuntu machine. I was lucky, I found an awesome article <a href="http://blog.michaelgreenly.com/2008/08/multiple-versions-of-ruby-on-ubuntu-2.html">http://blog.michaelgreenly.com/2008/08/multiple-versions-of-ruby-on-ubuntu-2.html</a>. This really solved my problem, Many thanks to Michael Greenly.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WebOnRails?a=NdFPKIUcqfA:UGzQwu5hK6I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=NdFPKIUcqfA:UGzQwu5hK6I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=NdFPKIUcqfA:UGzQwu5hK6I:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=NdFPKIUcqfA:UGzQwu5hK6I:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=NdFPKIUcqfA:UGzQwu5hK6I:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=NdFPKIUcqfA:UGzQwu5hK6I:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=NdFPKIUcqfA:UGzQwu5hK6I:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=NdFPKIUcqfA:UGzQwu5hK6I:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/NdFPKIUcqfA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/06/23/multiple-versions-of-ruby-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/06/23/multiple-versions-of-ruby-on-ubuntu/</feedburner:origLink></item>
		<item>
		<title>Taskit:  Another task scheduler for rails</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/g8qvxeMbDa0/</link>
		<comments>http://webonrails.com/2009/05/21/taskit-another-task-scheduler-for-rails/#comments</comments>
		<pubDate>Thu, 21 May 2009 06:32:15 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[rails_plugin]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=298</guid>
		<description><![CDATA[While searching something I found and interesting plugin &#8216;Taskit&#8216;, which I want to test for sure in production/staging when ever I get the chance.
Anybody tried it already?
]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/peitvx8ckEAFUztN7kk5vqGjrro/0/da"><img src="http://feedads.g.doubleclick.net/~a/peitvx8ckEAFUztN7kk5vqGjrro/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/peitvx8ckEAFUztN7kk5vqGjrro/1/da"><img src="http://feedads.g.doubleclick.net/~a/peitvx8ckEAFUztN7kk5vqGjrro/1/di" border="0" ismap="true"></img></a></p><p>While searching something I found and interesting plugin &#8216;<a href="http://github.com/Swirrl/Taskit/tree/master">Taskit</a>&#8216;, which I want to test for sure in production/staging when ever I get the chance.</p>
<p>Anybody tried it already?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WebOnRails?a=g8qvxeMbDa0:1qmXP5BUrPI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=g8qvxeMbDa0:1qmXP5BUrPI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=g8qvxeMbDa0:1qmXP5BUrPI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=g8qvxeMbDa0:1qmXP5BUrPI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=g8qvxeMbDa0:1qmXP5BUrPI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=g8qvxeMbDa0:1qmXP5BUrPI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=g8qvxeMbDa0:1qmXP5BUrPI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=g8qvxeMbDa0:1qmXP5BUrPI:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/g8qvxeMbDa0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/05/21/taskit-another-task-scheduler-for-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/05/21/taskit-another-task-scheduler-for-rails/</feedburner:origLink></item>
		<item>
		<title>Printing large image diagrams generated by RailRoad</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/mWIGDw8P1Ys/</link>
		<comments>http://webonrails.com/2009/03/23/printing-large-image-diagrams-generated-by-railroad/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 10:24:05 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[rails_plugin]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[RailRoad]]></category>
		<category><![CDATA[rubygems]]></category>
		<category><![CDATA[Trick]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=268</guid>
		<description><![CDATA[I use RailRoad for generating Ruby on Rails diagrams, but always wish I could print those diagrams. Generally diagrams are too big to print on a single A4 size paper and I didn&#8217;t find any tool to print larger images in parts so that I can join them. If I print the image generated by [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/Rj5wXKaNjZtOePoZDyrWC7AHwhk/0/da"><img src="http://feedads.g.doubleclick.net/~a/Rj5wXKaNjZtOePoZDyrWC7AHwhk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Rj5wXKaNjZtOePoZDyrWC7AHwhk/1/da"><img src="http://feedads.g.doubleclick.net/~a/Rj5wXKaNjZtOePoZDyrWC7AHwhk/1/di" border="0" ismap="true"></img></a></p><p>I use <a href="http://railroad.rubyforge.org/">RailRoad</a> for generating Ruby on Rails diagrams, but always wish I could print those diagrams. Generally diagrams are too big to print on a single A4 size paper and I didn&#8217;t find any tool to print larger images in parts so that I can join them. If I print the image generated by <a href="http://railroad.rubyforge.org/">RailRoad</a> on single page, it of no use as it is hardly readable. </p>
<p>Fortunately, two days ago I found something which resolved this issue. It is a linux command and print a particular image on four pages. Here is that command:</p>
<p><strong>lp -o scaling=200 models.png</strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WebOnRails?a=mWIGDw8P1Ys:36-VEyL3T6k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=mWIGDw8P1Ys:36-VEyL3T6k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=mWIGDw8P1Ys:36-VEyL3T6k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=mWIGDw8P1Ys:36-VEyL3T6k:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/WebOnRails?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=mWIGDw8P1Ys:36-VEyL3T6k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=mWIGDw8P1Ys:36-VEyL3T6k:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WebOnRails?a=mWIGDw8P1Ys:36-VEyL3T6k:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WebOnRails?i=mWIGDw8P1Ys:36-VEyL3T6k:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/mWIGDw8P1Ys" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/03/23/printing-large-image-diagrams-generated-by-railroad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/03/23/printing-large-image-diagrams-generated-by-railroad/</feedburner:origLink></item>
		<item>
		<title>Hassle free installation of rails stack on debian based system</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/o7Ha6CK5W0Q/</link>
		<comments>http://webonrails.com/2009/02/23/hassle-free-installation-of-rails-stack-on-debian-based-system/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 16:34:52 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[rails stack]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[slicehost]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=255</guid>
		<description><![CDATA[Want to install rails stack on a machine? Just follow these steps.  It will setup a rails stack(Apache + passenger + mysql + ruby + rubygems + common gems + git) on any server(debian based)

apt-get update
apt-get upgrade -y
apt-get -y install build-essential libssl-dev libreadline5-dev zlib1g-dev  
apt-get -y install mysql-server libmysqlclient15-dev mysql-client 
apt-get -y install [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/ROCaHuNZwP591QpJeqCFQet9SS8/0/da"><img src="http://feedads.g.doubleclick.net/~a/ROCaHuNZwP591QpJeqCFQet9SS8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ROCaHuNZwP591QpJeqCFQet9SS8/1/da"><img src="http://feedads.g.doubleclick.net/~a/ROCaHuNZwP591QpJeqCFQet9SS8/1/di" border="0" ismap="true"></img></a></p><p>Want to install rails stack on a machine? Just follow these steps.  It will setup a rails stack(Apache + passenger + mysql + ruby + rubygems + common gems + git) on any server(debian based)</p>
<ol>
<li>apt-get update</li>
<li>apt-get upgrade -y</li>
<li>apt-get -y install build-essential libssl-dev libreadline5-dev zlib1g-dev  </li>
<li>apt-get -y install mysql-server libmysqlclient15-dev mysql-client </li>
<li>apt-get -y install ruby ruby1.8-dev irb ri rdoc libopenssl-ruby1.8</li>
<li>install rubygems manually:
<ol>
<li>download rubygems form rubyforge, >=1.3</li>
<li>unzip files</li>
<li>ruby setup.rb</li>
<li>Check that gem command is in path. Sometimes &#8216;gem1.8&#8242; is available but &#8216;gem&#8217; not. In that case copy /usr/bin/gem1.8 to /usr/bin/gem using &#8220;cp /usr/bin/gem1.8 /usr/bin/gem&#8221;</li>
</ol>
</li>
<li>apt-get -y install libmagick9-dev</li>
<li>apt-get -y install imagemagick</li>
<li>apt-get -y install postfix mailx</li>
<li>apt-get -y install apache2</li>
<li>apt-get -y install apache2-prefork-dev</li>
<li>wget http://webonrails.com/wp-content/plugins/download-monitor/download.php?id=7</li>
<li>ruby install_gems.txt</li>
<li>passenger-install-apache2-module</li>
<li>
Download git from git-scm.com</p>
<ol>
<li> Unzip files</li>
<li>./configure &#8211;without-tcltk</li>
<li>make -j 2</li>
<li>make install</li>
</ol>
</li>
</ol>
<p>You are all set now, go deploy you rails app. I have tested it on linode(ubuntu8.10), slicehost(ubuntu 8.10), should work for you too</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/WebOnRails?a=bv8hVBRh"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=lhzjSFv6"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=lhzjSFv6" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=YJydUcMv"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=lnSMvXx2"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=lnSMvXx2" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=aXpCk0tb"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=aXpCk0tb" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/o7Ha6CK5W0Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/02/23/hassle-free-installation-of-rails-stack-on-debian-based-system/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/02/23/hassle-free-installation-of-rails-stack-on-debian-based-system/</feedburner:origLink></item>
		<item>
		<title>Edge rails: ActiveRecord::Base.each and ActiveRecord::Base.find_in_batches for  batch processing</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/U0zliuYqQ3M/</link>
		<comments>http://webonrails.com/2009/02/23/edge-rails-activerecordbaseeach-and-activerecordbasefind_in_batches-for-batch-processing/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 15:45:25 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[edge_rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[edge rails]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=251</guid>
		<description><![CDATA[You guys must faced a situation when you need to process large number of records, for example sending newsletters. Then you must have done some sort of batch processing to save it eating up all of your memory. This feature is committed to rails core by DHH.
Now you can do something like User.each and User.find_in_batches.
Please [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/-Jo9djn9IqRAogWJXktk0Js3sDs/0/da"><img src="http://feedads.g.doubleclick.net/~a/-Jo9djn9IqRAogWJXktk0Js3sDs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-Jo9djn9IqRAogWJXktk0Js3sDs/1/da"><img src="http://feedads.g.doubleclick.net/~a/-Jo9djn9IqRAogWJXktk0Js3sDs/1/di" border="0" ismap="true"></img></a></p><p>You guys must faced a situation when you need to process large number of records, for example sending newsletters. Then you must have done some sort of batch processing to save it eating up all of your memory. This feature is committed to rails core by DHH.</p>
<p>Now you can do something like <strong>User.each</strong> and <strong>User.find_in_batches</strong>.</p>
<p>Please refer <a href="http://github.com/rails/rails/blob/45787bdd0e9ec20b111e570a20b5f66a949b400c/activerecord/lib/active_record/batches.rb">here</a> for more details.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/WebOnRails?a=dISn8O5u"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=jERVE52D"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=jERVE52D" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=WuP25gRf"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=HPbcGkJg"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=HPbcGkJg" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=83fT63a6"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=83fT63a6" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/U0zliuYqQ3M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/02/23/edge-rails-activerecordbaseeach-and-activerecordbasefind_in_batches-for-batch-processing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/02/23/edge-rails-activerecordbaseeach-and-activerecordbasefind_in_batches-for-batch-processing/</feedburner:origLink></item>
		<item>
		<title>Export Mercurial(Hg) repository to git repository</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/P2Abw2nc1bQ/</link>
		<comments>http://webonrails.com/2009/02/19/export-mercurialhg-repository-to-git-repository/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 15:11:25 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[hg]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=238</guid>
		<description><![CDATA[ ]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/xj4TJEsBrfwj6KraEdA7Tq6u7Qw/0/da"><img src="http://feedads.g.doubleclick.net/~a/xj4TJEsBrfwj6KraEdA7Tq6u7Qw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xj4TJEsBrfwj6KraEdA7Tq6u7Qw/1/da"><img src="http://feedads.g.doubleclick.net/~a/xj4TJEsBrfwj6KraEdA7Tq6u7Qw/1/di" border="0" ismap="true"></img></a></p><p>I have been using a git from quite a some time. But there was a project for which we were using Mercurial(Hg).</p>
<p>We decided to move it&#8217;s repository to github, after spending some time on google I found many articles but unfortunately none of them worked for me. </p>
<p>But, Finally I managed to move it from Hg to Git.</p>
<p>Following are the steps I followed:</p>
<ol>
<li>git clone git://repo.or.cz/fast-export.git</li>
<li>mkdir new_git_repo</li>
<li>cd new_git_repo</li>
<li>git init</li>
<li>/path/to/hg-fast-export.sh -r /path/to/hg_repo   #hg-fast-export.sh in the clone of step 1</li>
<li>git-repack -a -d -f </li>
<li>git checkout BRANCH_NAME # BRANCH_NAME is the name of Hg branch, in my case it was &#8216;trunk&#8217;</li>
</ol>
<p>It worked for me very well, hope same to you guys&#8230;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/WebOnRails?a=h8JhrqQD"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=47eZmxrr"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=47eZmxrr" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=nzfSMOXR"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=YDXj7piJ"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=YDXj7piJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=SjVRlhjg"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=SjVRlhjg" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/P2Abw2nc1bQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/02/19/export-mercurialhg-repository-to-git-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/02/19/export-mercurialhg-repository-to-git-repository/</feedburner:origLink></item>
		<item>
		<title>Rails Plugin: role_requirment, Clean role-based security for restful_authentication</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/pqLQ0GWFF5A/</link>
		<comments>http://webonrails.com/2009/02/13/rails-plugin-role_requirment-clean-role-based-security-for-restful_authentication/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 16:52:42 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[rails_plugin]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=233</guid>
		<description><![CDATA[I just found a very useful plugin role_requirement  to manage roles in rails app. 
RoleRequirement focuses on a simple approach to role-based authentication. RoleRequirement leverages the power of !Ruby to strike a marvelous balance between simplicity and flexibility.
Features:
    * A user can have many roles or one role
    [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/a316unuUkWKBPV5FD2di7lCqdAM/0/da"><img src="http://feedads.g.doubleclick.net/~a/a316unuUkWKBPV5FD2di7lCqdAM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/a316unuUkWKBPV5FD2di7lCqdAM/1/da"><img src="http://feedads.g.doubleclick.net/~a/a316unuUkWKBPV5FD2di7lCqdAM/1/di" border="0" ismap="true"></img></a></p><p>I just found a very useful plugin <a href="http://code.google.com/p/rolerequirement/">role_requirement</a>  to manage roles in rails app. </p>
<p><a href="http://code.google.com/p/rolerequirement/">RoleRequirement</a> focuses on a simple approach to role-based authentication. RoleRequirement leverages the power of !Ruby to strike a marvelous balance between simplicity and flexibility.</p>
<p>Features:</p>
<p>    * A user can have many roles or one role<br />
    * Full test helpers to make it easy to test your controllers.<br />
    * Squeaky clean implementation &#8211; don&#8217;t repeat yourself!<br />
    * Code generators: spend more time coding and less time wading through installation instructions. </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/WebOnRails?a=gM035W1J"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=FQgUGZSW"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=FQgUGZSW" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=AGrtQvmz"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=ruFpTILu"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=ruFpTILu" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=WVUfiKfS"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=WVUfiKfS" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/pqLQ0GWFF5A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/02/13/rails-plugin-role_requirment-clean-role-based-security-for-restful_authentication/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/02/13/rails-plugin-role_requirment-clean-role-based-security-for-restful_authentication/</feedburner:origLink></item>
		<item>
		<title>rake -T does not list my custom rake task</title>
		<link>http://feedproxy.google.com/~r/WebOnRails/~3/BHhuE-N1pJA/</link>
		<comments>http://webonrails.com/2009/02/13/rake-t-does-not-list-my-custom-rake-task/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 15:35:04 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[ROR]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[rake]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[Rubyonrails]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=230</guid>
		<description><![CDATA[This is just a tip, may be you guys are already aware of it. 
Sometimes I wonder why my custom rake task doesn&#8217;t appear in rake -T list, however it runs well. I just noticed that if I do not specify description for a task then that particular rake task does not appear in the [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/a4NbfxVjSxltngJKEQJ7IaIjsWM/0/da"><img src="http://feedads.g.doubleclick.net/~a/a4NbfxVjSxltngJKEQJ7IaIjsWM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/a4NbfxVjSxltngJKEQJ7IaIjsWM/1/da"><img src="http://feedads.g.doubleclick.net/~a/a4NbfxVjSxltngJKEQJ7IaIjsWM/1/di" border="0" ismap="true"></img></a></p><p>This is just a tip, may be you guys are already aware of it. </p>
<p>Sometimes I wonder why my custom rake task doesn&#8217;t appear in rake -T list, however it runs well. I just noticed that if I do not specify description for a task then that particular rake task does not appear in the task list.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/WebOnRails?a=7cXAjmh7"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=4Eokbrhn"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=4Eokbrhn" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=qaZHqAo1"><img src="http://feeds.feedburner.com/~f/WebOnRails?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=zs9Rlh3L"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=zs9Rlh3L" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/WebOnRails?a=6cDTvHSw"><img src="http://feeds.feedburner.com/~f/WebOnRails?i=6cDTvHSw" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WebOnRails/~4/BHhuE-N1pJA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webonrails.com/2009/02/13/rake-t-does-not-list-my-custom-rake-task/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://webonrails.com/2009/02/13/rake-t-does-not-list-my-custom-rake-task/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.707 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-12 18:55:21 -->
