## 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