Connecting Tech Pros Worldwide Forums | Help | Site Map

Excel read in ruby on rails

Newbie
 
Join Date: Oct 2007
Posts: 19
#1: Jan 22 '09
Hello everyone,
I want to read the excel file and store the data into Mysql.I have installed the gem parseexcel.But its not working and i am getting the error as like below

ActionController::InvalidAuthenticityToken
Request

Parameters:
{"sheet"=>"0", "afile"=>{"file_data"=>#<File:C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/CGI.3336.0>}}

Please help me what to do.Its urgent.

Thanks,
amulyab
Expert
 
Join Date: May 2007
Posts: 213
#2: Jan 22 '09

re: Excel read in ruby on rails


If this is part of a Rails app, it might be related to how your form is setup. See this page for additional info.

You may also be able to use win32ole to read Excel files.
Reply