Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
Branch: master

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
Something went wrong with that request. Please try again.