Class: ActiveRecordLoader

Inherits:
ETL
  • Object
show all
Defined in:
lib/etl/active_record_loader.rb

Overview

To use this, 1) setup an extract to find the data, and 2) a transform to create an array of arrays, with the first array as the header. The header and data should only contain values in the table to be imported. The data_frame gem (sudo gem install davidrichards-data_frame) may make the transform a LOT easier to do if there is a lot of column munging to do. Chris Wycoff’s babel_icious gem will go a long way in the transform if you have XML data you are working with (sudo gem install cwycoff-babel_icious).

Constant Summary

Constants inherited from ETL

ETL::VALID_CALLBACKS, ETL::VALID_STATES

Instance Attribute Summary

Attributes inherited from ETL

#block, #data, #options, #raw, #state

Method Summary

Methods inherited from ETL

call, #initialize, logger, logger_filename, logger_root, logger_root=, process, #process, #reverse_to

Constructor Details

This class inherits a constructor from ETL