阅读背景:

用AJAX在Rails中自动保存表单

来源:互联网 

I am trying to autosave a form for the Post#new action. Every minute or so, I want to POST to Post#autosave and then I'll check for first_or_create and save/updated the record in the Posts table. My problem though is, I can no longer access the POST params from the form. I am trying to do it like so:I am trying to autosave a form for the Post#new




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

分享到: