Vizzuality/cartodb — Issue #522: Clean up table export routing methods
Author: andrewxhill
Created: 2012-02-13 18:17:45+00:00
State: open

When you have time, the export routes should be cleaned up. Right now, export relies on

to_shp
to_csv
to_kml
to_sql

in table.rb
If we add more there will be more. I want to move most of this stuff into an exporter library not leave it in the table model. Instead, can we do one like,

to_file or export_to_file

And give it a param that will tell me what extension you want? Then I can move all that redundant stuff to one exporter lib.