Main Content

Migrating Legacy Data

About the Talk

July 16, 2010 9:15 AM

Kansas City, MO

Kansas City, MO

Rob Kaufman and Patrick Crowley from San Diego Ruby will demonstrate how to make legacy data migration simple, easy, and repeatable; allowing developers to seed new apps with existing data very early in the development process and fine-tune migrations right up until it's time to launch.

Legacy migration basics

  • Adding a legacy database adapter
  • Setting up legacy models
  • Mapping legacy fields to existing model attributes
  • Building migration rake tasks
  • Using helper methods to reformat data

Advanced migrations

  • Text encoding issues
  • Non-relational stores (CSV, XML, wikis, etc.)
  • MsSQL and other databases

Deployment strategies

  • Migrating in production on a typical Rails host
  • Migrating for Heroku users

Ratings and Recommendations

Avg. Rating

Average based
on 21 ratings

comments powered by Disqus