<?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>CS8 &#187; Rails</title>
	<atom:link href="http://www.cs8.my/tag/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cs8.my</link>
	<description>Rapid Web Applications Done The Right Way!</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:02:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>authlogic-oauth params nil class error</title>
		<link>http://www.cs8.my/2010/08/authlogic-oauth-params-nil-class-error/</link>
		<comments>http://www.cs8.my/2010/08/authlogic-oauth-params-nil-class-error/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 08:22:21 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[authlogic]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.cs8.my/?p=422</guid>
		<description><![CDATA[Facing another bug while integration my rails project with twitter using authlogic-oauth and was facing a problem while running my cucumber test. In my step definition file, I was trying to create a simple User object and the error I was getting was as follow: undefined method `params' for nil:NilClass (NoMethodError) Upon further investigation. The [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/2010/08/authlogic-oauth-params-nil-class-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authlogic OAuth Twitter</title>
		<link>http://www.cs8.my/2010/08/authlogic-oauth-twitter/</link>
		<comments>http://www.cs8.my/2010/08/authlogic-oauth-twitter/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 16:39:10 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[authlogic]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.cs8.my/?p=418</guid>
		<description><![CDATA[I was trying to run an Authlogic OAuth Twitter example application on my local development machine and kept getting OAuth::Unauthorized (401 Unauthorized) error. Turns out, you have to register your app as a Twitter OAuth client at http://twitter.com/oauth_clients/. If you&#8217;re registering your application as web browser, don&#8217;t forget to fill in the callback url. When [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/2010/08/authlogic-oauth-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying facebooker app on sub URI</title>
		<link>http://www.cs8.my/2010/08/deploying-facebooker-app-on-sub-uri/</link>
		<comments>http://www.cs8.my/2010/08/deploying-facebooker-app-on-sub-uri/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 16:35:34 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[authlogic]]></category>
		<category><![CDATA[authlogic facebook]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[facebook connect]]></category>
		<category><![CDATA[facebooker]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.cs8.my/?p=401</guid>
		<description><![CDATA[Recently, I had created a rails app which allows people to login with their Facebook account. Thanks to a few existing gems and plugins, the facebook connect integration was straight forward enough. A few gotchas but easily fixed. However what had got me stump for a few hours was deploying my rails app on a [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/2010/08/deploying-facebooker-app-on-sub-uri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>subdomain name and DNS.</title>
		<link>http://www.cs8.my/2010/03/subdomain-name-and-dns/</link>
		<comments>http://www.cs8.my/2010/03/subdomain-name-and-dns/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 07:01:18 +0000</pubDate>
		<dc:creator>fefe</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[subdomain-fu]]></category>

		<guid isPermaLink="false">http://www.consoci8.com/?p=241</guid>
		<description><![CDATA[My colleague and I were working on a feature to apply dynamic subdomain name in one of our rails apps. Since a lot of documentation out there only focus on how to host subdomain app by configuring the /etc/hosts file. I reckon I share some insight on how to actually enable dynamic subdomain in your [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/2010/03/subdomain-name-and-dns/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Includes &amp; Eager Loading</title>
		<link>http://www.cs8.my/2009/06/includes-eager-loading/</link>
		<comments>http://www.cs8.my/2009/06/includes-eager-loading/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 14:27:04 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[eager loading]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=91</guid>
		<description><![CDATA[I&#8217;m figuring out something in my rails app.  I&#8217;m figuring out which one&#8217;s the worst: Eager loading 100 rows of data you don&#8217;t actually need at the moment or 10 queries giving 10 result set at once? Here&#8217;s the code to explain it. 1 2 3 @event = Event.find&#40;params&#91;:event_id&#93;&#41; &#160; @event_attendees = @event.attendees.paginate&#40;:page =&#62; params&#91;:page&#93;, [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/2009/06/includes-eager-loading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Routes Gotcha</title>
		<link>http://www.cs8.my/2008/12/routes-gotcha/</link>
		<comments>http://www.cs8.my/2008/12/routes-gotcha/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 01:52:05 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[rails routes]]></category>
		<category><![CDATA[Ruby On Rails]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=89</guid>
		<description><![CDATA[Something peculiar happened when I was doing something trivial. If you accidently named your restful route the following resource :roles instead of resources :roles When you point your app to /roles it won&#8217;t go to your index controller action but it will instead call your show action.]]></description>
		<wfw:commentRss>http://www.cs8.my/2008/12/routes-gotcha/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rebuilding Ferret Index</title>
		<link>http://www.cs8.my/2008/11/rebuilding-ferret-index/</link>
		<comments>http://www.cs8.my/2008/11/rebuilding-ferret-index/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 05:13:51 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[acts_as_ferret]]></category>
		<category><![CDATA[ferret]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=82</guid>
		<description><![CDATA[I had trouble reindexing the ferret index using the rake command (rake ferret:rebuild). I got this non-descriptive error regarding failing to rebuild it (Even in my development mode). So after googling for it, all one has to do is so simple. Go into your rails script/console and just type Model.rebuild_index And you&#8217;re done.]]></description>
		<wfw:commentRss>http://www.cs8.my/2008/11/rebuilding-ferret-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ensuring your join model uniqueness</title>
		<link>http://www.cs8.my/2008/07/ensuring-your-join-model-uniqueness/</link>
		<comments>http://www.cs8.my/2008/07/ensuring-your-join-model-uniqueness/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 09:28:12 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[:scope]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[validates_uniqueness_of]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=70</guid>
		<description><![CDATA[For example: id &#124;category_id &#124; inventory_id 1 384 1 #first entry 2 384 2 #this would be ok. 3 384 1 #this would not be ok To ensure that a category_id doesn&#8217;t have any inventory_id duplicate: [sourcecode language="ruby"] class CategoryProduct < ActiveRecord::Base   belongs_to :category   belongs_to :inventory   validates_uniqueness_of :category_id, :scope => :inventory_id end [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/2008/07/ensuring-your-join-model-uniqueness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netbeans</title>
		<link>http://www.cs8.my/2008/06/netbeans/</link>
		<comments>http://www.cs8.my/2008/06/netbeans/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 13:34:09 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Netbeans]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=18</guid>
		<description><![CDATA[I use Netbeans6.1 when developing in Rails. The thing I like most about it is that I can easily read the docs from a certain method in my code. I just press Ctrl + hover my mouse to that method and walla, the docs appears in my IDE. I can also do that when placing [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/2008/06/netbeans/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rails 2.1 script/dbconsole</title>
		<link>http://www.cs8.my/2008/06/rails-21-scriptdbconsole/</link>
		<comments>http://www.cs8.my/2008/06/rails-21-scriptdbconsole/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 00:48:15 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[script/dbconsole]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=15</guid>
		<description><![CDATA[In Rails 2.1, you have a new script/dbconsole Instead of accessing your MySQL database with mysql -u &#60;username&#62; -p You can instead do script/dbconsole and if you database has a password, just do script/dbconsole -p All this works provided that you have the correct database.yml settings.]]></description>
		<wfw:commentRss>http://www.cs8.my/2008/06/rails-21-scriptdbconsole/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

