No description or website provided.
Ruby
Pull request Compare This branch is 24 commits ahead of cbarton:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
.rvmrc
Gemfile
README
Rakefile
data_transformation.gemspec

README

## Installing the Transformer ##
Add it as a hook to your existing rake tasks in Rakefile

  Rake::Task['db:schema:load'].enhance do
    Rake::Task['db:transform:load'].invoke
  end
  
  Rake::Task['db:schema:dump'].enhance do
    Rake::Task['db:transform:dump'].invoke
  end
 
  Rake::Task['db:migrate'].enhance do
    Rake::Task['db:transform'].invoke
  end


## Using the Transformer ##

It's just like migrating, moreso than you probably originally thought.

    rails g data_transformation transform_name = make the transform

    rake db:transform  = run the unrun transforms