I am Generating the Excel sheet using the ruby on rails
I installed the gem spreadsheet/excel
and the spreadsheet
and in my code i wrote the lines
require 'spreadsheet/excel'
require 'spreadsheet'
i used to format the excel sheet
wb = Spreadsheet::Excel.new(path) # creates the Excel sheet
*I need to generate the Excel Sheet through the Ruby On Rails.I have to
create the excel sheet with the database fields as headers and the data in
the sheet*
*I installed the required gems...*
* gem install spreadsheet-excel -v = 0.3.5.1*
*and i worte the code as*
* wb = Spreadsheet::Excel.new
2 matches
Mail list logo