<?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>Ruby on Rails Hacks</title>
	<atom:link href="http://rubyonrailshacks.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rubyonrailshacks.com</link>
	<description>hacks, small tutorials and code snippets to get specific things working in Ruby on Rails</description>
	<lastBuildDate>Tue, 07 Sep 2010 10:47:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>How to: implement the simplest way to fetch friends timeline streams from Twitter in Ruby on Rails</title>
		<link>http://rubyonrailshacks.com/how-to-implement-the-simplest-way-to-fetch-friends-timeline-streams-from-twitter-in-ruby-on-rails/</link>
		<comments>http://rubyonrailshacks.com/how-to-implement-the-simplest-way-to-fetch-friends-timeline-streams-from-twitter-in-ruby-on-rails/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 07:48:31 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[rubyonrails]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[friends_timeline]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=21</guid>
		<description><![CDATA[If you don&#8217;t want the Rails application to connect to the Twitter using OAUTH and just want to display the user&#8217;s timeline it can be done in a very simple way using Twitter HTTP authentication. Add two fields in the users table: twitter_username twitter_password After the user provides these two values the tweets from friends [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-implement-the-simplest-way-to-fetch-friends-timeline-streams-from-twitter-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: modify date_select to show text field for year</title>
		<link>http://rubyonrailshacks.com/how-to-modify-date_select-to-show-text-field-for-year/</link>
		<comments>http://rubyonrailshacks.com/how-to-modify-date_select-to-show-text-field-for-year/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 06:05:23 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[date_select]]></category>
		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=18</guid>
		<description><![CDATA[The date select Rails helper is great to get the date/month/year data, however sometime it&#8217;s required to customize the default functionality in a way which is sometimes not directly available. For this particular requirement, it can be achieved by using some default options and adding some more hack to it&#8230; For this, remove the year [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-modify-date_select-to-show-text-field-for-year/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to: fetch and show the user stream from facebook via facebook connect</title>
		<link>http://rubyonrailshacks.com/how-to-fetch-and-show-the-user-stream-from-facebook-via-facebook-connect/</link>
		<comments>http://rubyonrailshacks.com/how-to-fetch-and-show-the-user-stream-from-facebook-via-facebook-connect/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 05:08:09 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=17</guid>
		<description><![CDATA[This post assumes we are using the Facebooker plugin to Facebook Connect the Rails application to Facebook. If you want an extended functionality of displaying a user&#8217;s stream on in your application, just the Facebook Connect is not going to work. It would be required that our app requests extended facebook permissions from the user. [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-fetch-and-show-the-user-stream-from-facebook-via-facebook-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: merge facebook connect dialog with successive request dialog for extended permissions</title>
		<link>http://rubyonrailshacks.com/how-to-merge-facebook-connect-dialog-with-successive-request-dialog-for-extended-permissions/</link>
		<comments>http://rubyonrailshacks.com/how-to-merge-facebook-connect-dialog-with-successive-request-dialog-for-extended-permissions/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 19:59:28 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=16</guid>
		<description><![CDATA[When using the Facebooker plugin for connecting your Rails app with Facebook, it&#8217;s simple by using the method fb_login_button and providing a callback url. Since quite sometime, Facebook has restricted the open accessibility of the user&#8217;s stream via API even when the user is connected via Facebook Connect. And it requires another permission from the [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-merge-facebook-connect-dialog-with-successive-request-dialog-for-extended-permissions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to: logout the facebook connect in Ruby on Rails</title>
		<link>http://rubyonrailshacks.com/how-to-logout-the-facebook-connect-in-ruby-on-rails/</link>
		<comments>http://rubyonrailshacks.com/how-to-logout-the-facebook-connect-in-ruby-on-rails/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 18:48:28 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=14</guid>
		<description><![CDATA[When connecting your Ruby on Rails application with Facebook Connect, it sometimes a problem to have the user properly logout the Rails application and the Facebook Connect&#8217;s session as well. If we use the plugin Facebooker the logout is mostly a problem and the issue is that the Facebook cookie is not directly removable by [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-logout-the-facebook-connect-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: manage the deleted records in Ruby on Rails</title>
		<link>http://rubyonrailshacks.com/how-to-manage-the-deleted-records-in-ruby-on-rails/</link>
		<comments>http://rubyonrailshacks.com/how-to-manage-the-deleted-records-in-ruby-on-rails/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 05:32:10 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[rubyonrails]]></category>
		<category><![CDATA[acts_as_archive]]></category>
		<category><![CDATA[deleted_records]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=6</guid>
		<description><![CDATA[The best way to have organized deleted records, in a full functional easily restorative form in Ruby on Rails applications is to use the gem (or plugin) ActsAsArchive Install the gem sudo gem install acts_as_archive And also add in the application&#8217;s gem configuration, by adding the following line in your environment.rb config.gem 'acts_as_archive' Add acts_as_archive [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-manage-the-deleted-records-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: use render :js</title>
		<link>http://rubyonrailshacks.com/how-to-use-render-js/</link>
		<comments>http://rubyonrailshacks.com/how-to-use-render-js/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 04:49:38 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[rjs]]></category>
		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=9</guid>
		<description><![CDATA[render :js is a fantastic way to further decrease the line of codes for rendering the response for XHR (XML HTTP Requests or simply Ajax/RJS calls). The usual way to render the response for XHR requests is either using an rjs template or using the render :update block. I definitely prefer using the render :update [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-use-render-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: fix error “File is not recognized by the ‘identify’ command”</title>
		<link>http://rubyonrailshacks.com/how-to-fix-error-file-is-not-recognized-by-the-identify-command/</link>
		<comments>http://rubyonrailshacks.com/how-to-fix-error-file-is-not-recognized-by-the-identify-command/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 04:33:59 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[paperclip]]></category>
		<category><![CDATA[rubyonrails]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=7</guid>
		<description><![CDATA[If you are getting this error when using PaperClip to upload files in a Ruby on Rails application, the issue is that PaperClip is not able to call the binary file &#8220;identify&#8221; on your system. It can simply be fixed by explicitly providing the path to &#8220;identify&#8221; file on your system in the environment&#8217;s config [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-fix-error-file-is-not-recognized-by-the-identify-command/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to: start working on Ruby on Rails</title>
		<link>http://rubyonrailshacks.com/how-to-start-working-on-ruby-on-rails/</link>
		<comments>http://rubyonrailshacks.com/how-to-start-working-on-ruby-on-rails/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 11:27:32 +0000</pubDate>
		<dc:creator>sur</dc:creator>
				<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://rubyonrailshacks.com/?p=4</guid>
		<description><![CDATA[The knowledge in Ruby Programming Language is really helpful to gain a great control in Ruby on Rails framework. It makes far easy to understand the Rails application&#8217;s code and to write much more neat and organized code. To kick start working with a Ruby on Rails, one can easily start with the BaseApp2 http://wiki.github.com/dannyweb/BaseApp2 [...]<p><a href="http://launchbit.com/az/120-270/">
<img width="125" height="125" src="http://launchbit.com/az-images/120-270/" /></a><br />
<small>(Powered by <a href="http://launchbit.com/lb/120-270/edit/">LaunchBit</a>)</small></p>
]]></description>
		<wfw:commentRss>http://rubyonrailshacks.com/how-to-start-working-on-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
