Connecting Tech Pros Worldwide Help | Site Map

Excel read in ruby on rails

  #1  
Old January 22nd, 2009, 09:55 AM
Newbie
 
Join Date: Oct 2007
Posts: 19
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
  #2  
Old January 22nd, 2009, 03:02 PM
Expert
 
Join Date: May 2007
Posts: 213

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