Session

Building Rails to Legacy Applications

Robert Treat, DBA, PostgreSQL Community

Track: Ruby
Date: Thursday, July 27
Time: 10:45am - 11:30am
Location: F151

By now everyone has heard of Ruby on Rails and probably even used it to build their own blog system. But once you get past the first 10 minutes, how do you go about getting your old legacy systems, and that old schema that lives inside your database, into a new rails framework?

In this talk we'll show you several different tricks and techniques to accomplish this and, in the process, expand your object model and clean up your code. Some specific topics we'll look at include:

  • How to tweak your data classes to handle non-standard table and column names
  • How to mask your table structure and get your code working with scaffolding
  • How to reel-in those random queries that get tucked away inside your application code

Along the way we'll discuss the pros and cons of each method and give you the tools you need to start implementing these ideas in your own projects so you can ditch the crusty code and get riding the rails.