README.md in pg_csv-0.1.7 vs README.md in pg_csv-0.1.8
- old
+ new
@@ -4,11 +4,11 @@
Fast AR/PostgreSQL csv export. Uses pg function 'copy to csv'. Effective on millions rows.
Gemfile:
``` ruby
gem 'pg_csv'
-```
+```
Usage:
``` ruby
PgCsv.new(opts).export(to, opts)
```
@@ -57,8 +57,8 @@
end
end
# yield example
PgCsv.new(:sql => sql, :type => :yield).export do |row|
- puts row
+ puts row
end
```