Migrating a PHP database to a new Rails application