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 21 forks source link

Replace :synthesize syntax #10

Open erithmetic opened 12 years ago

erithmetic commented 12 years ago

Instead of:

store :field, :synthesize => Proc.new { |row| do_some_stuff }

Allow:

store :field do |row|
  do_some_stuff
  and_how
end
seamusabshere commented 12 years ago

i really like this idea