• Engine Yard
  • LivingSocial
  • VMware
  • Heroku
  • Rackspace Hosting
  • Blue Box Group
  • JetBrains
  • New Relic
  • Percona
  • Pivotal Labs
  • Rails Dog
  • WyeWorks
  • Chargify

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine at yromaine@oreilly.com.

Download the RailsConf Sponsor/Exhibitor Prospectus

Contact Us

View a complete list of RailsConf contacts.

Upgrading Legacy Rails Applications to Rails 3

Clinton N. Dreisbach (Relevance, Inc.)
Location: Ballroom II
Average rating: ***..
(3.58, 31 ratings)

Smart developers have been using Ruby on Rails to rapidly build web applications for over 5 years now. Cutting-edge projects have aged into old, moldy, legacy apps. Rails 3 and Ruby 1.9 offer performance improvements and new features that are guaranteed to take the squeak out of that old wheel and grease the tracks of new development. We’re going to walk through upgrading real projects and then work through some stumbling blocks taken from the audience.

We’re going to specifically talk about:

  • The upgrade path from Rails 2 to Rails 3
  • The rails_upgrade gem
  • Rooting out bugs caused by moving from Ruby 1.8 to Ruby 1.9
  • Updating views to work with Rails 3’s new escaping rules
  • Refactoring patterns to break large controllers into small, RESTful controllers
  • Safely updating plugins
  • Working with Bundler to move requirements out into a Gemfile

NOTE: We’re going to walk through migrating a legacy Rails application to Rails 3.1, but in order to solve the hard problems attendees are going through, I’d like to attack real issues. If you are attending this tutorial, feel free to send examples of issues you are having ahead of time to crnixon at crnixon dot com. Please put [Rails3] in the subject line.

Depending on the time we have and the interest, we’ll pull examples from the audience and have a workshop on those problems. Attendees should bring their problem applications and have a way to do remote screen sharing. A VNC server will do if you are running Linux or Windows; OS X users can use built-in screen sharing.

Photo of Clinton N. Dreisbach

Clinton N. Dreisbach

Relevance, Inc.

Clinton Nixon Dreisbach is a developer at Relevance:“http://thinkrelevance.com”, the home of Clojure/core. He has been computing for 25 years and loves Perl, Clojure, public speaking, and learning new things.

Comments on this page are now closed.


Picture of Clinton N. Dreisbach
Clinton N. Dreisbach
05/17/2011 5:17am EDT

Wow, those links are hosed. One more try:

Slides and resources

Example app

Picture of Clinton N. Dreisbach
Clinton N. Dreisbach
05/17/2011 5:16am EDT

The slides – with 10 extra slides! – and resources from the talk can be found at crnixon.com/talks/rails-3-u...>

The sample application I upgraded for the talk examples is at github.com/crnixon/rubyurl.

Mohnish Jadwani
02/13/2011 7:34pm EST

How can we follow this session(videos/tutorials) and get updates of the things discussed , if we aren’t able to be present there physically on the event days.. Thanks!!