Hello world!

June 27, 2007 at 12:33 pm 2 comments

Welcome to Satish Chauhan’s blog. This is my first post.

Entry filed under: Uncategorized.

How to generate CSV files in Rails

2 Comments Add your own

  • 1. suri  |  November 2, 2007 at 9:39 am

    the program gives a syntax error.

    app/controllers/lead_controller.rb:10: syntax error, unexpected ‘,’, expecting kEND
    title ‘leads-report.csv’,:disposition =>’attachment’, :encoding => ‘utf8’
    ^
    app/controllers/lead_controller.rb:10: syntax error, unexpected ‘,’, expecting kEND
    title ‘leads-report.csv’,:disposition =>’attachment’, :encoding => ‘utf8’
    ^
    app/controllers/lead_controller.rb:10: syntax error, unexpected ‘,’, expecting kEND
    title ‘leads-report.csv’,:disposition =>’attachment’, :encoding => ‘utf8’
    ^
    RAILS_ROOT: ./script/../config/..

  • 2. Satish  |  November 2, 2007 at 10:27 am

    this is a syntax error. what i can do ?
    where you posted that comment?

Leave a comment

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

June 2007
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Most Recent Posts