Rails 2.x Code