Rails 3.1 remote requests submitting twice

后端 未结 2 1106
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 01:59

I developed a Rails 3.1 application that consists of a 100% Ajax CRUD forms to input users and customers. I created two separate models, controllers, views etc. The views

2条回答
  •  隐瞒了意图╮
    2020-12-03 02:41

    If you have precompiled the assets and running in development mode, then the JavaScripts will be included twice on the page.

    Remove everything from public/assets if in development mode.

提交回复
热议问题