<?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>Yangtheman &#187; Ruby on Rails</title>
	<atom:link href="http://blog.yangtheman.com/category/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yangtheman.com</link>
	<description>Life hacker</description>
	<lastBuildDate>Tue, 17 Jan 2012 09:34:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to install KidsRuby on Mac OS X and Ubuntu</title>
		<link>http://blog.yangtheman.com/2012/01/17/how-to-install-kids-ruby-on-mac-os-x-and-ubuntu/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-install-kids-ruby-on-mac-os-x-and-ubuntu</link>
		<comments>http://blog.yangtheman.com/2012/01/17/how-to-install-kids-ruby-on-mac-os-x-and-ubuntu/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 07:24:21 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[high-tech]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=355</guid>
		<description><![CDATA[I have two kids, and I have been wanting to find ways to introduce my kids to programming. Especially for my son, who has asperger syndrome. I thought programming would be a good way to use his interests in logic and mathematics to good use.
I was so much in joy when I found KidsRuby. It&#8217;s [...]]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2012/01/17/how-to-install-kids-ruby-on-mac-os-x-and-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resources for fresh installation of Postgresql 8.x and Ruby on Rails on Mac OS X 10.6.x</title>
		<link>http://blog.yangtheman.com/2011/11/18/resources-for-fresh-installation-of-postgresql-8-x-and-ruby-on-rails/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=resources-for-fresh-installation-of-postgresql-8-x-and-ruby-on-rails</link>
		<comments>http://blog.yangtheman.com/2011/11/18/resources-for-fresh-installation-of-postgresql-8-x-and-ruby-on-rails/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 09:53:34 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=326</guid>
		<description><![CDATA[Most people need to do this only when they get a new system. I had to go through this to help out a potential brogrammer, and it would have been much easier if I pointed him to one place where he could just following direction. Instruction here applies to Mac OS X 10.6.x.
1. Install Xcode
Xcode [...]]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2011/11/18/resources-for-fresh-installation-of-postgresql-8-x-and-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pretty Permalinks on Rails</title>
		<link>http://blog.yangtheman.com/2010/12/09/pretty-permalinks-on-rails/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=pretty-permalinks-on-rails</link>
		<comments>http://blog.yangtheman.com/2010/12/09/pretty-permalinks-on-rails/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 06:25:58 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=288</guid>
		<description><![CDATA[Hot dang it&#8217;s so easy!  I am using Rails 3, and it&#8217;s as easy as adding .parameterize to an attribute.
For example, if you want something like
http://mywebsite/posts/123-it-is-so-easy
You do

class Post
  def to_param
    &#34;#{id}-#{title.parameterize}&#34;
  end
end

That&#8217;s it!
 ]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2010/12/09/pretty-permalinks-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RVM and Heroku</title>
		<link>http://blog.yangtheman.com/2010/12/09/rvm-and-heroku/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rvm-and-heroku</link>
		<comments>http://blog.yangtheman.com/2010/12/09/rvm-and-heroku/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 06:19:33 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=286</guid>
		<description><![CDATA[Make sure you run it twice &#8211; once with sudo and once without &#8211; for it to work properly.

$sudo gem install heroku
$gem install heroku

 ]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2010/12/09/rvm-and-heroku/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Full text search on Heroku</title>
		<link>http://blog.yangtheman.com/2010/02/28/full-text-search-on-heroku/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=full-text-search-on-heroku</link>
		<comments>http://blog.yangtheman.com/2010/02/28/full-text-search-on-heroku/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 04:44:37 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[acts_as_tsearch]]></category>
		<category><![CDATA[heroku]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=274</guid>
		<description><![CDATA[If you want to have full text search capability on Heroku, you should definitely use texticle or acts_as_tsearch. It is possible to use acts_as_farret on Heroku, but since you can only write to /tmp directory and your index file will be deleted sooner or later, you should not use it.
I first used texticle, and later [...]]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2010/02/28/full-text-search-on-heroku/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Path of enlightenment to Ruby</title>
		<link>http://blog.yangtheman.com/2010/02/22/path-of-enlightenment-to-ruby/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=path-of-enlightenment-to-ruby</link>
		<comments>http://blog.yangtheman.com/2010/02/22/path-of-enlightenment-to-ruby/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 06:39:02 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=272</guid>
		<description><![CDATA[For all those who are learning Ruby, please do yourself a favor and follow the path described below.
http://github.com/edgecase/ruby_koans
 ]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2010/02/22/path-of-enlightenment-to-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My answer to text-dynamo</title>
		<link>http://blog.yangtheman.com/2010/02/22/my-naswer-to/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=my-naswer-to</link>
		<comments>http://blog.yangtheman.com/2010/02/22/my-naswer-to/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 05:09:37 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Markov chain]]></category>
		<category><![CDATA[Probability]]></category>
		<category><![CDATA[Randomness]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=266</guid>
		<description><![CDATA[As an exercise to practice Ruby, you can try to compete a random text generator using an underlying Markov chain model. The codes in the following github account are incomplete. You are supposed to fill in or create methods that will create randomly generated texts given seed texts.
http://github.com/eandrejko/text-dynamo
Markov chain is like a state machine, but [...]]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2010/02/22/my-naswer-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert from MySQL to Postgres</title>
		<link>http://blog.yangtheman.com/2010/01/30/how-to-convert-from-mysql-to-postgres/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-convert-from-mysql-to-postgres</link>
		<comments>http://blog.yangtheman.com/2010/01/30/how-to-convert-from-mysql-to-postgres/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 07:55:21 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=245</guid>
		<description><![CDATA[I have been using MySQL for probably as long as I could remember. For Bloglation, search capability is an important feature since it&#8217;s hard to browse each post one by one. I will probably implement tagging functionality, but even so, it&#8217;s important to be able to search the contents with a keyword(s). While Ultrasphinx works [...]]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2010/01/30/how-to-convert-from-mysql-to-postgres/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>To mock or stub &#8216;open&#8217; method</title>
		<link>http://blog.yangtheman.com/2009/12/16/to-mock-or-stub-open-method/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=to-mock-or-stub-open-method</link>
		<comments>http://blog.yangtheman.com/2009/12/16/to-mock-or-stub-open-method/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 08:17:01 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=237</guid>
		<description><![CDATA[Don&#8217;t fool with Kernel call. Just use OpenURI.open_uri.

OpenURI.expects&#40;:open_uri&#41;.returns&#40;&#34;some content&#34;&#41;

 ]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2009/12/16/to-mock-or-stub-open-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing acts_as_ferret with pagination and deploying on Heroku</title>
		<link>http://blog.yangtheman.com/2009/11/05/installing-acts_as_ferret-with-pagination-and-deploying-on-heroku/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=installing-acts_as_ferret-with-pagination-and-deploying-on-heroku</link>
		<comments>http://blog.yangtheman.com/2009/11/05/installing-acts_as_ferret-with-pagination-and-deploying-on-heroku/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 23:56:02 +0000</pubDate>
		<dc:creator>Yang Chung</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[acts_as_ferret]]></category>
		<category><![CDATA[ferret]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[paginate]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[will_paginate]]></category>

		<guid isPermaLink="false">http://blog.yangtheman.com/?p=205</guid>
		<description><![CDATA[OMG!
This shouldn&#8217;t have been this difficult, but it has because while there are many cool tutorials are out there, they are mostly outdated, and for some reason, the instruction on Heroku was not accessible.
While I picked acts_as_ferret because Heroku supports it, many seemed to prefer Thinking Sphinx. So, if you are not constrained (like me [...]]]></description>
		<wfw:commentRss>http://blog.yangtheman.com/2009/11/05/installing-acts_as_ferret-with-pagination-and-deploying-on-heroku/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

