Rails 3.2.3 JavaScript suddenly stopped working

别来无恙 提交于 2019-12-25 00:26:00

问题


I'm not sure how or why this happened, but if anyone could suggest a course of action, I'd really appreciate it. Is there anything I can type into the console to figure out why it's not working? I've tried 'bundle update' a few times and restarted my server, but nothing's working.


回答1:


So, I found out what was wrong: I had a coffeescript error in one of my XXXXXXX.js.coffee files. I found out this was the problem by reloading the page with chrome's javascript console open. It logged an error and called out the file. I opened the file and fixed the error.



来源:https://stackoverflow.com/questions/11055240/rails-3-2-3-javascript-suddenly-stopped-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!