RubyGems.org

The best I could come up with was to just show you: $ atcat dbi://pg/localhost/database_name/table_name csv://table_name.csv That exports a table from Postgres into a comma separated value file. You can read from or write to: tab, csv, dbi, etc. You can opaquely treat any of those 'table of records' based sources as an opaque URI. Want to read more? https://github.com/kyleburton/abstract-tables

installgem install abstract-tables -v 1.0.1
Authors

Kyle Burton

31,921 total downloads 5,786 for this version
Owners

611fd46d3d001c7c6b047468de453b18

Gemfile
gem 'abstract-tables', '~> 1.0.1'
Versions
  1. 1.0.5 February 15, 2011 (11.5 KB)
  2. 1.0.4 February 15, 2011 (10.5 KB)
  3. 1.0.3 February 15, 2011 (10.5 KB)
  4. 1.0.2 February 9, 2011 (10.5 KB)
  5. 1.0.1 February 9, 2011 (10 KB)
Show all versions (6 total)
Runtime Dependencies
  1. dbi >= 0.4.5