macsig Report post Posted March 10, 2010 Hello there, I need to save a chart as image so I have followed the instructions that come with the evaluation pack. I already had in my machine ImageMagick and RMagick gem. 1. Copy the controllers (1,2,3) into controllers/Fusioncharts in your application. 2. Copy the lib folder along with lib files (4,5,6,7,8) into lib folder of your application. 3. Copy the fc_exporter folder along with error.html.erb into the views folder of your application. When I try to save the image the capturing process starts but when it reaches 100% I get ActionController::InvalidAuthenticityToken in Fusioncharts/fc exporterController#index What does this mean? Am I missing something? Thanks Sig Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 10, 2010 Hi This has something to do with protect_from_forgery token in the Controller. Please see if you need it. If you don't need it, then remove it. hope this helps Srividya Share this post Link to post Share on other sites
macsig Report post Posted March 11, 2010 Thanks for the reply. I'd prefer to keep it. Is there a way to make it works with protect_from_forgery on? Thanks again. Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 11, 2010 How about using :except and specify the particular action which handles export? Share this post Link to post Share on other sites