[Rails] Re: Rails4 - How to receive and send JSON data securely through Ajax and store it?

2014-11-13 Thread Suresh Kumar
Hey Frederick Cheung thanks for the reply. I removed "skip_before_filter :verify_authenticity_token" and I sent authenticity token as parameter and it worked. :) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rail

[Rails] Re: Rails4 - How to receive and send JSON data securely through Ajax and store it?

2014-11-09 Thread Frederick Cheung
On Sunday, November 9, 2014 6:55:29 AM UTC, Ruby-Forum.com User wrote: > > I have a page(like https://www.helloabc.com/han.html) that is loaded > inside an iframe on an app of different domain. I added the following to > enable loading the page in an iframe to remove the error("Refused to > di