Datawarehouse extractor for Activerecord