Routing errors when upgrading from rails 3.1 to rails 3.2 due to underscores in module namespaces

可紊 提交于 2019-12-02 06:45:23

Came across same thing once. There was this bug on their github issue list

https://github.com/rails/rails/issues/5849

Then a pull request

https://github.com/rails/rails/pull/6105

But the discussion did not come to any solution. The common statement was like

Don't like undescores in Modules.

So you'll have to remove your underscores from the Module names

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