<?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>One day at a time &#187; ruby</title>
	<atom:link href="http://www.terencekwan.com/category/ruby/feed" rel="self" type="application/rss+xml" />
	<link>http://www.terencekwan.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 14 Mar 2010 18:28:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>undefined method `before_persisting&#8217; for Authlogic::Session::Base:Class (NoMethodError)</title>
		<link>http://www.terencekwan.com/undefined-method-before_persisting-for-authlogicsessionbaseclass-nomethoderror</link>
		<comments>http://www.terencekwan.com/undefined-method-before_persisting-for-authlogicsessionbaseclass-nomethoderror#comments</comments>
		<pubDate>Fri, 12 Mar 2010 07:09:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=110</guid>
		<description><![CDATA[If you are using rails 3.0.0 beta and authlogic, you may see this after you add authlogic in your GemFile. This is a bug in authlogic, you need to disable the authlogic from the GemFile and install authlogic latest plugin as well. The latest authlogic build fixed the problem.
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/undefined-method-before_persisting-for-authlogicsessionbaseclass-nomethoderror/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ruby &#8211; Components may not be evil, but they sure can be slow</title>
		<link>http://www.terencekwan.com/ruby-components-may-not-be-evil-but-they-sure-can-be-slow</link>
		<comments>http://www.terencekwan.com/ruby-components-may-not-be-evil-but-they-sure-can-be-slow#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:47:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=90</guid>
		<description><![CDATA[http://railsexpress.de/blog/articles/2005/11/18/components-may-not-be-evil-but-they-sure-can-be-slow Becareful when you use Ruby components. When it goes back to the controller, it may run throught some filters and slow down the application.
]]></description>
		<wfw:commentRss>http://www.terencekwan.com/ruby-components-may-not-be-evil-but-they-sure-can-be-slow/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Articles For Scaling Ruby On Rail Web Site</title>
		<link>http://www.terencekwan.com/articles-for-scaling-ruby-on-rail-web-site</link>
		<comments>http://www.terencekwan.com/articles-for-scaling-ruby-on-rail-web-site#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:46:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=88</guid>
		<description><![CDATA[Here are a set of articles for RoR scaling.

The adventures of scaling, Stage 1
Q&#38;A: The adventures of scaling, Stage 1
The adventures of scaling, Stage 2
The adventures of scaling, Stage 3
The adventures of scaling, Stage 4
Scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel

Very good articles.
By the way, it said:
Quote:
The old codebase roughly consisted of around 50.000 [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/articles-for-scaling-ruby-on-rail-web-site/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Restart rails deploy in Dreamhost</title>
		<link>http://www.terencekwan.com/restart-rails-deploy-in-dreamhost</link>
		<comments>http://www.terencekwan.com/restart-rails-deploy-in-dreamhost#comments</comments>
		<pubDate>Sat, 21 Mar 2009 02:38:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=76</guid>
		<description><![CDATA[If you are using Dreamhost to deploy Ruby On Rails, I suggest you to look into:
Webistrano &#8211; http://labs.peritor.com/webistrano
This is a web UI to make PHP, rails deploy a lot easier. 5 stars!
Also, in case you change the source code in Dreamhost and want Dreamhost to reload the file, you see to do the following:

SSH to [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/restart-rails-deploy-in-dreamhost/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>ActionView::TemplateError (undefined method `logged_in?&#8217; for #)</title>
		<link>http://www.terencekwan.com/actionviewtemplateerror-undefined-method-logged_in-for</link>
		<comments>http://www.terencekwan.com/actionviewtemplateerror-undefined-method-logged_in-for#comments</comments>
		<pubDate>Fri, 06 Mar 2009 18:39:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=42</guid>
		<description><![CDATA[I am converting an old Ruby on Rails application to Rails 2.2.2 because the app does not work for dreamhost anymore. Dreamhost rails version is 2.2.2.
It is painful. A lot of plugin does not work. For example, I was using acts_as_authenticated plugin. However, it is no longer support. I need to convert it to restful_anthuenication [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/actionviewtemplateerror-undefined-method-logged_in-for/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>rubygems.rb:142:in `activate&#8217;: can&#8217;t activate rubyforge</title>
		<link>http://www.terencekwan.com/rubygemsrb142in-activate-cant-activate-rubyforge</link>
		<comments>http://www.terencekwan.com/rubygemsrb142in-activate-cant-activate-rubyforge#comments</comments>
		<pubDate>Tue, 06 Jan 2009 23:23:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=38</guid>
		<description><![CDATA[My rails app is using the old version of rubyforge.
When I start the app using ./script/server. It complains about the rubyforge as:
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:142:in `activate&#8217;: can&#8217;t activate rubyforge (= 0.4.5, runtim
e), already activated rubyforge-1.0.1 (Gem::Exception)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&#8217;
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:
in `require&#8217;
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:
in `new_constants_in&#8217;
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:
in `require&#8217;
from /usr/lib/ruby/1.8/soap/streamHandler.rb:62
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;
from /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:
in `require&#8217;
&#8230; 65 levels&#8230;
from /usr/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/server.rb:39
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;
from [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/rubygemsrb142in-activate-cant-activate-rubyforge/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>undefined method `init_gettext&#8217; for ApplicationController:Class</title>
		<link>http://www.terencekwan.com/undefined-method-init_gettext-for-applicationcontrollerclass</link>
		<comments>http://www.terencekwan.com/undefined-method-init_gettext-for-applicationcontrollerclass#comments</comments>
		<pubDate>Fri, 24 Oct 2008 21:22:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/?p=21</guid>
		<description><![CDATA[I just updated to rails 2.1.2 and see this error:
undefined method `init_gettext&#8217; for ApplicationController:Class
To resolve it.

make sure you have the latest gettext gems.
if it does not help, try add this to the first line of your app/controllers/application.rb

require &#8216;gettext/rails&#8217;



]]></description>
		<wfw:commentRss>http://www.terencekwan.com/undefined-method-init_gettext-for-applicationcontrollerclass/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Cannot do &#8220;gem install mysql&#8221;</title>
		<link>http://www.terencekwan.com/cannot-do-gem-install-mysql</link>
		<comments>http://www.terencekwan.com/cannot-do-gem-install-mysql#comments</comments>
		<pubDate>Tue, 08 Jan 2008 06:26:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.terencekwan.com/archives/3</guid>
		<description><![CDATA[If you cannot do &#8220;gem install mysql&#8221;, it returns:
/usr/local/bin/ruby extconf.rb install mysql
checking for mysql_query() in -lmysqlclient&#8230; no
checking for main() in -lm&#8230; yes
checking for mysql_query() in -lmysqlclient&#8230; no
checking for main() in -lz&#8230; yes
checking for mysql_query() in -lmysqlclient&#8230; no
checking for main() in -lsocket&#8230; no
checking for mysql_query() in -lmysqlclient&#8230; no
checking for main() in -lnsl&#8230; yes
checking for mysql_query() in [...]]]></description>
		<wfw:commentRss>http://www.terencekwan.com/cannot-do-gem-install-mysql/feed</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
	</channel>
</rss>
