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
Page 1 of 1
ActionController::InvalidAuthenticityToken in Fusioncharts/fc exporterController#index
Other Replies To This Topic
#2
Posted 10 March 2010 - 11:07 PM
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
regards,
Srividya Sharma
Srividya Sharma
Other Replies To This Topic
#3
Posted 11 March 2010 - 11:59 AM
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.
I'd prefer to keep it. Is there a way to make it works with protect_from_forgery on?
Thanks again.
Alla prossima ...
Other Replies To This Topic
#4
Posted 11 March 2010 - 07:54 PM
How about using :except and specify the particular action which handles export?
regards,
Srividya Sharma
Srividya Sharma
Other Replies To This Topic
Page 1 of 1


Back to top
MultiQuote