阅读背景:

Trouble rendering to Index.html.erb from Index.js.erb in Rails Using Ajax Authenticity Token

来源:互联网 

Basically, I have a single page TODOAPP that is displayed in Rails on Index.html.erb and I'm trying to render the instantiated TODO objects through index.js.erb because they have a form attached to each of them that needs an authenticity token from a rails helper. Rendering the TODOs through/in Javascript is a necessity. Basically, I have a single page TODOAPP that is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: