Excel read in ruby on rails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • divyakgowda
    New Member
    • Oct 2007
    • 19

    Excel read in ruby on rails

    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

    ActionControlle r::InvalidAuthe nticityToken
    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
  • improvcornartist
    Recognized Expert Contributor
    • May 2007
    • 303

    #2
    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.

    Comment

    Working...