CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 23 Aug 2025 04:25:52 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090630012703
location: https://web.archive.org/web/20090630012703/https://github.com/econsultancy/csv_builder/tree/master
server-timing: captures_list;dur=0.801092, exclusion.robots;dur=0.026707, exclusion.robots.policy;dur=0.012409, esindex;dur=0.015816, cdx.remote;dur=20.617960, LoadShardBlock;dur=133.321723, PetaboxLoader3.datanode;dur=72.358195, PetaboxLoader3.resolve;dur=35.147524
x-app-server: wwwb-app223
x-ts: 302
x-tr: 194
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app223; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 23 Aug 2025 04:25:52 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Tue, 30 Jun 2009 01:27:03 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 129ms
x-archive-orig-etag: "71c8d0efcdd29b414d4447a1c3f8d418"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 23261
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: maccentraleurope
memento-datetime: Tue, 30 Jun 2009 01:27:03 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 15 Aug 2008 05:20:06 GMT", ; rel="prev memento"; datetime="Wed, 22 Apr 2009 16:40:00 GMT", ; rel="memento"; datetime="Tue, 30 Jun 2009 01:27:03 GMT", ; rel="next memento"; datetime="Mon, 10 Oct 2011 12:33:52 GMT", ; rel="last memento"; datetime="Tue, 13 Jun 2017 05:43:07 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090629232451_crawl100-c/52_10_20090630012648_crawl101.arc.gz
server-timing: captures_list;dur=0.543443, exclusion.robots;dur=0.017604, exclusion.robots.policy;dur=0.008989, esindex;dur=0.014346, cdx.remote;dur=30.989764, LoadShardBlock;dur=194.496866, PetaboxLoader3.datanode;dur=182.988252, PetaboxLoader3.resolve;dur=80.374151, load_resource;dur=251.008434
x-app-server: wwwb-app223
x-ts: 200
x-tr: 552
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
econsultancy's csv_builder at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | CSV template Rails plugin edit |
Homepage: | edit |
Public Clone URL: |
git://github.com/econsultancy/csv_builder.git
Give this clone URL to anyone.
git clone git://github.com/econsultancy/csv_builder.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:econsultancy/csv_builder.git
|
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Thu Jun 26 02:35:33 -0700 2008 | Added README, license, and rdoc rake task [mocoso] |
![]() |
MIT-LICENSE | Thu Jun 26 02:35:33 -0700 2008 | Added README, license, and rdoc rake task [mocoso] |
![]() |
README | Thu May 28 03:57:37 -0700 2009 | Added CSV generator options [mocoso] |
![]() |
Rakefile | Thu Jun 26 02:35:33 -0700 2008 | Added README, license, and rdoc rake task [mocoso] |
![]() |
init.rb | Thu Jun 26 02:34:00 -0700 2008 | Initial commit [mocoso] |
![]() |
lib/ | Thu May 28 03:57:37 -0700 2009 | Added CSV generator options [mocoso] |
= CSV Builder The CSV Builder Rails plugin provides a simple templating system for serving dynamically generated CSV files from your application. == Requirements CSV Builder requires Rails v2.1. It also depends upon the FasterCSV gem https://fastercsv.rubyforge.org, which you can install with $ sudo gem install fastercsv Encoding conversions are done with Iconv, so make sure you have it on your development/production machine. == Example CSV template files are suffixed with '.csv.csvbuilder', for example 'index.csv.csvbuilder' Add rows to your CSV file in the template by pushing arrays of columns into the csv object. # First row csv << [ 'cell 1', 'cell 2' ] # Second row csv << [ 'another cell value', 'and another' ] # etc... You can set the default filename for that a browser will use for 'save as' by setting <tt>@filename</tt> instance variable in your controller's action method e.g. @filename = 'report.csv' You can set the input encoding and output encoding by setting <tt>@input_encoding</tt> and <tt>@output_encoding</tt> instance variables. These default to 'UTF-8' and 'LATIN1' respectively. e.g. @output_encoding = 'UTF-8' You can set <tt>@csv_options</tt> instance variable to define options for FasterCSV generator. For example: @csv_options = { :force_quotes => true, :col_sep => ';' } You can also attach a csv file to mail sent out by your application by including a snippet like the following in your mailer method attachment "text/csv" do |attachment| attachment.body = render(:file => 'example/index.csv.csvbuilder') attachment.filename = 'report.csv' end Copyright (c) 2008 Econsultancy.com and 2009 Vidmantas Kabošis, released under the MIT license.
This feature is coming soon. Sit tight!