<?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/category/programming/ruby-on-rails/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, 05 Aug 2010 08:22:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>subdomain name and DNS.</title>
		<link>http://www.cs8.my/subdomain-name-and-dns/</link>
		<comments>http://www.cs8.my/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/subdomain-name-and-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authlogic is Awesome</title>
		<link>http://www.cs8.my/authlogic-is-awesome/</link>
		<comments>http://www.cs8.my/authlogic-is-awesome/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 13:28:08 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[authlogic]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[rails rails template]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=109</guid>
		<description><![CDATA[Have been tinkering around with authlogic. The most I love about is its out-of-the-box functionality. I used to wrestle with restful_authentication to get certain things that I need. Not in anyway that I&#8217;m bashing it but seeing how easy authlogic I couldn&#8217;t believe why I didn&#8217;t use it sooner. I like it so much that [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/authlogic-is-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My little contribution to a rails plugin (sort of)</title>
		<link>http://www.cs8.my/my-little-contribution-to-a-rails-plugin-sort-of/</link>
		<comments>http://www.cs8.my/my-little-contribution-to-a-rails-plugin-sort-of/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 16:03:42 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[weekly_builder]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=100</guid>
		<description><![CDATA[Getting your bug fix/code pulled into the main repo really gets you excited &#38; satisfied. I never thought it could give me this much sense of enjoyment. Check it out. http://github.com/dmix/weekly_builder/tree/master]]></description>
		<wfw:commentRss>http://www.cs8.my/my-little-contribution-to-a-rails-plugin-sort-of/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Includes &amp; Eager Loading</title>
		<link>http://www.cs8.my/includes-eager-loading/</link>
		<comments>http://www.cs8.my/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/includes-eager-loading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Routes Gotcha</title>
		<link>http://www.cs8.my/routes-gotcha/</link>
		<comments>http://www.cs8.my/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/routes-gotcha/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rebuilding Ferret Index</title>
		<link>http://www.cs8.my/rebuilding-ferret-index/</link>
		<comments>http://www.cs8.my/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/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/ensuring-your-join-model-uniqueness/</link>
		<comments>http://www.cs8.my/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/ensuring-your-join-model-uniqueness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Index your tables people.</title>
		<link>http://www.cs8.my/index-your-tables-people/</link>
		<comments>http://www.cs8.my/index-your-tables-people/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 04:17:39 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[activerecords]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=66</guid>
		<description><![CDATA[A good read on table index. http://www.railway.at/articles/2008/04/24/database-agnostic-database-ignorant Sometimes, it is easy to forget when someone or something else handles it for you. For instance, ActiveRecords. Rails does not  create foreign keys for you. It only creates the primary key. It does not impose constraint on the database level. The association is handled on the application [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/index-your-tables-people/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Note to self</title>
		<link>http://www.cs8.my/note-to-self/</link>
		<comments>http://www.cs8.my/note-to-self/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 08:10:16 +0000</pubDate>
		<dc:creator>fadhli</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[activerecords]]></category>

		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=64</guid>
		<description><![CDATA[Do not name your database column with the name &#8216;no&#8217;. You&#8217;ll get this error when you try to run your test ActiveRecord::StatementInvalid: Mysql::Error: Unknown column &#8216;false&#8217; in &#8216;field list&#8217;]]></description>
		<wfw:commentRss>http://www.cs8.my/note-to-self/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nested Layouts in Rails</title>
		<link>http://www.cs8.my/nested-layouts-in-rails/</link>
		<comments>http://www.cs8.my/nested-layouts-in-rails/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 09:48:00 +0000</pubDate>
		<dc:creator>asyraf</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://webtest.consoci8.com/?p=131</guid>
		<description><![CDATA[I was wondering how to keep the layouts in my rails application code DRY &#8211; I was close to the point of kicking myself for having to make changes to all my layouts whenever something standard changed &#8211; so i researched online and found the above diagram by Matt McCray in his blog. I used [...]]]></description>
		<wfw:commentRss>http://www.cs8.my/nested-layouts-in-rails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
