seamusabshere / data_miner

Download, unpack from a ZIP/TAR/GZ/BZ2 archive, parse, correct, convert units and import Google Spreadsheets, XLS, ODS, XML, CSV, HTML, etc. into your ActiveRecord models. Uses RemoteTable gem internally.
MIT License
302 stars 18 forks source link

can't mine classes in groups #1

Closed seamusabshere closed 14 years ago

seamusabshere commented 15 years ago

i want to be able to do something like

rake data_miner:mine GROUP=footprint_model

so something like

DataMiner.enqueue do |queue|
  queue.with_options :group => :footprint_model do |q|
    q << YearlyTypicalEmission
    q << MonthlyEmissionVariance
    q << YearlyAnonymousEmission
  end

(of course <<(YearlyTypicalEmission, :group => :footprint_model) will break, but you get the idea)

seamusabshere commented 14 years ago

data_miner no longer tracks dependencies or tries to run imports in a certain order