You are here: Forums Ask a Rails expert creating and exporting Excel s...
Posted in Forums : Ask a Rails expert
Authority 0
Posting Rating 12
Sign in to rate this post
|
Hello, I am very new Rubyonrails. I am uings spreadsheet-excel-0.3.5.1 please help me out..If possoble explian me in clear steps.. Thanks in Advance. Sai |
Authority 12
Posting Rating 95
Sign in to rate this post
|
Use FasterCSV.Install this using gem install fastercsv For info on usage please refer |
Authority 12
Posting Rating 76
Sign in to rate this post
|
Fastercsv gem is used like this |
Authority 0
Posting Rating 12
Sign in to rate this post
|
Thank U soo much . |
Authority 25
Posting Rating 98
Sign in to rate this post
|
I just want to add that if your users are on IE then you can simply use a mime type of ‘application/vnd.ms-excel’ and used a table in the body and it will automatically load in Excel in the browser. This works well in a controlled environment like a company where every workstation has MS Office or a similar arrangement. It’s very slick and easy. You can even use javascript to launch the save or print window from this point which prompts the user to take action. I haven’t tried this with Firefox and MS Office but I don’t think this will work. |
Authority 0
Posting Rating 12
Sign in to rate this post
|
Hello MR Raul Rubio, Thanks for your info. I am not able to find a good book for rubyonrails here in Indian market. Thanks |
Ask a Rails expert : How to use mephisto
Ask a Rails expert : How to use mephisto
Ask a Rails expert : will_paginate customization problem
Ask a Rails expert : BackgroundRB still wants 'development' environment...?
Ask a Rails expert : activescaffold, sql exception
Ask a Rails expert : Passing non-english chars in query string
Ask a Rails expert : Rails and 2D barcodes
Ask a Rails expert : apache giving proxy error
Ask a Rails expert : Custom Responses w/ 'extra' information...?
Ask a Rails expert : Log rotation in rails