<?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>Handy Patriawan's Blog &#187; Ruby on Rails</title>
	<atom:link href="http://galaxyelf.com/blog/category/software-development/web-development/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://galaxyelf.com/blog</link>
	<description>Technology, Learning, and Everything Else</description>
	<lastBuildDate>Sun, 17 Jan 2010 02:49:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NameError after the Upgrade to Rails 2.3.2</title>
		<link>http://galaxyelf.com/blog/2009/04/21/nameerror-after-the-upgrade-to-rails-232/</link>
		<comments>http://galaxyelf.com/blog/2009/04/21/nameerror-after-the-upgrade-to-rails-232/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 15:38:44 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/?p=74</guid>
		<description><![CDATA[I was upgrading my local rails version from 2.2.2 to 2.3.2 by running:
gem update

I changed config/environment.rb to:
RAILS_GEM_VERSION = &#8216;2.3.2&#8242; unless defined? RAILS_GEM_VERSION

Starting my local server and navigating to localhost:3000 produced the following error:

NameError in UsersController#login
uninitialized constant ApplicationController


Obviously, Google to the rescue (again)&#8230; 

I found a post from http://giantrobots.thoughtbot.com/2009/4/15/rails-2-3-2-upgrade-gotchas

The solution is to rename controllers/application.rb to controllers/application_controller.rb.

Matt [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2009/04/21/nameerror-after-the-upgrade-to-rails-232/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset Button in Rails</title>
		<link>http://galaxyelf.com/blog/2008/08/03/reset-button-in-rails/</link>
		<comments>http://galaxyelf.com/blog/2008/08/03/reset-button-in-rails/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 15:49:52 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/?p=57</guid>
		<description><![CDATA[I am sure at some point web applications will require an entry form.
I just notice that Rails does not make the &#8216;Reset&#8217; button available. Here is an example of an HTML form with a reset button:



Google helps me again!  
I found a post from mc-kenna.com to describe what needs to be done.

&#60;%= submit_tag &#34;Start [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2008/08/03/reset-button-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Debug in Rails</title>
		<link>http://galaxyelf.com/blog/2008/06/14/how-to-debug-in-rails/</link>
		<comments>http://galaxyelf.com/blog/2008/06/14/how-to-debug-in-rails/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 20:05:24 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/?p=56</guid>
		<description><![CDATA[Every developers need debuggers now and then. I have been using ruby-debug for a while now.
You can check whether you have ruby-debug installed:
gem list ruby-debug
If you do not have ruby-debug installed, you can run the following command:
gem install ruby-debug
I have been using Mongrel for my development. To enable debugging, you should start your server with [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2008/06/14/how-to-debug-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Date Validation &#8211; Step by Step</title>
		<link>http://galaxyelf.com/blog/2008/05/26/rails-date-validation-step-by-step/</link>
		<comments>http://galaxyelf.com/blog/2008/05/26/rails-date-validation-step-by-step/#comments</comments>
		<pubDate>Mon, 26 May 2008 23:26:39 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/?p=55</guid>
		<description><![CDATA[Update 5/31/2008: Use ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS
I have invested some time to get Rails date validation to work (whoo hoo!).
Without further ado, here are the step by step instructions:
1. Download Rails Date Kit from my site. Note that I got the original kit from http://www.methods.co.nz/rails_date_kit/rails_date_kit.html.
Extract the files in rails_date_kit_1.2.0.tar.gz to &#60;your application&#62;/vendor/plugins/rails_date_kit.


2. Get the Validates Date Time plugin [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2008/05/26/rails-date-validation-step-by-step/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Switch (Upgrade?) My Web Application to Use Rails 2 (2.0.2)</title>
		<link>http://galaxyelf.com/blog/2008/04/04/switch-upgrade-my-web-application-to-use-rails-2-202/</link>
		<comments>http://galaxyelf.com/blog/2008/04/04/switch-upgrade-my-web-application-to-use-rails-2-202/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 01:08:37 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/2008/04/04/switch-upgrade-my-web-application-to-use-rails-2-202/</guid>
		<description><![CDATA[My web application was using Rails 1.2.6. I decided to upgrade my application to use Rails 2.0.2.
I simply changed &#8216;1.2.6&#8242; to &#8216;2.0.2&#8242; in config/environment.rb:

RAILS_GEM_VERSION = &#8216;2.0.2&#8242; unless defined? RAILS_GEM_VERSION #*handy &#8211; Use Rails 2.0.2 now from 1.2.6
It was time to fire up my application and I got the following warning:

*******************************************************************
* config.breakpoint_server has been deprecated and [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2008/04/04/switch-upgrade-my-web-application-to-use-rails-2-202/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Symbols</title>
		<link>http://galaxyelf.com/blog/2008/02/24/rails-symbols/</link>
		<comments>http://galaxyelf.com/blog/2008/02/24/rails-symbols/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 03:18:23 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/2008/02/24/rails-symbols/</guid>
		<description><![CDATA[It is very important to understand symbols and how it behaves in Rails. Symbols concept was very confusing for me before. Again, Google to the rescue!  
I found a good article from Gluttonous that explains how symbols work.
As I progress through Agile Web Development with Rails, I notice that symbols and strings can be [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2008/02/24/rails-symbols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 2.0.2 Uses SQLite3 by Default?</title>
		<link>http://galaxyelf.com/blog/2008/01/21/rails-202-uses-sqlite3-by-default/</link>
		<comments>http://galaxyelf.com/blog/2008/01/21/rails-202-uses-sqlite3-by-default/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 02:01:49 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/2008/01/19/rails-202-uses-sqlite3-by-default/</guid>
		<description><![CDATA[I just upgraded to Rails 2.0.2 by running:
$gem update rails
I started my new Rails project. The content of config/database.yml surprised me!
development:
  adapter: sqlite3
  database: db/development.sqlite3
  timeout: 5000

I used Google to search for the change and found Rob&#8217;s post.
Here I am using MAMP as my MYSQL database provider so far. So, I have [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2008/01/21/rails-202-uses-sqlite3-by-default/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: Date and Time Validation</title>
		<link>http://galaxyelf.com/blog/2007/12/04/ruby-on-rails-date-and-time-validation/</link>
		<comments>http://galaxyelf.com/blog/2007/12/04/ruby-on-rails-date-and-time-validation/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 01:59:24 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/2007/12/04/ruby-on-rails-date-and-time-validation/</guid>
		<description><![CDATA[Update May 26th, 2008: I have posted new instructions to validate dates in Rails.
I am working on my Rails project and need a date validation in the model.
I found Validates Date Time Plugin.
According to RailsLodge Plugin page, I can automatically download the whole branch by issuing the following command:
ruby script/plugin install http://svn.viney.net.nz/things/rails/plugins/validates_date_time/
The resulting files should [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2007/12/04/ruby-on-rails-date-and-time-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: NoMethodError in Controller#action &#8211; Undefined method &#8216;each&#8217;</title>
		<link>http://galaxyelf.com/blog/2007/11/27/ruby-on-rails-nomethoderror-in-controlleraction-undefined-method-each/</link>
		<comments>http://galaxyelf.com/blog/2007/11/27/ruby-on-rails-nomethoderror-in-controlleraction-undefined-method-each/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 01:30:58 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/2007/11/26/ruby-on-rails-nomethoderror-in-modelaction-undefined-method-each/</guid>
		<description><![CDATA[I set an instance variable by running the following query:
@some_list = Model.find_by_column_name(nil)
I tried to interate the content of @some_list and received the following error:
NoMethodError in Controller#action
Showing app/views/model/list.rhtml where line [line number] raised:
undefined method `each&#8217; for #&#8230;

Apparently, I just need to add &#8220;_all_&#8221; in the query:
@some_list = Model.find_all_by_column_name(nil)
Easy solution, eh?  
Update: I found the solution [...]]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2007/11/27/ruby-on-rails-nomethoderror-in-controlleraction-undefined-method-each/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rails Database Convention</title>
		<link>http://galaxyelf.com/blog/2007/11/22/rails-database-convention/</link>
		<comments>http://galaxyelf.com/blog/2007/11/22/rails-database-convention/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 14:55:51 +0000</pubDate>
		<dc:creator>Handy</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://galaxyelf.com/blog/2007/11/22/rails-database-convention/</guid>
		<description><![CDATA[I finally start to create my own Rails application and it is not easy to remember all the RoR conventions.
Raaum.org has a very good database conventions that RoR (*cough*) &#8220;recommends.&#8221;
Obviously, I use Locomotive for my Rails development.  
Thank you, Ryan!  
]]></description>
		<wfw:commentRss>http://galaxyelf.com/blog/2007/11/22/rails-database-convention/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
