Rails rendering JSON causing helper method to be called twice

后端 未结 0 1298
长情又很酷
长情又很酷 2021-02-13 13:37

I\'m getting strange behavior when I render JSON from my Rails app. A helper method is run twice when render :json is called. Here\'s the controller and method:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题