Displaying 1 result from an estimated 1 matches for "migrate_engine".
2010 Mar 07
6
some love for migrations
...ke that approach either. Since it never reached consensus I
figured I''d try another approach that''s worked well for Pivotal Labs''
Desert system (we''ve been doing things that way for several years).
The basic idea is to add a method to the Migration class:
migrate_engine(engine_name, target_version). You have to manually add
a migration to the app''s migrations, but that''s nice and explicit the
way we want it to be. The migration looks something like this:
class UpgradeToMarchRelease < ActiveRecord::Migration
def self.up...