我突然得到no such file to load -- action_controller/routing
我的其他控制器中的其他方法工作正常,仅在创建方法中使用此方法
respond_to do |format|
这是日志
LoadError (no such file to load -- action_controller/routing):
lib/routing_extensions.rb:164:in `(root)'
.
.
.
Rendered /home/appandya/.rvm/gems/jruby-1.7.2@rails-3.2.11/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
Rendered /home/appandya/.rvm/gems/jruby-1.7.2@rails-3.2.11/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
Rendered /home/appandya/.rvm/gems/jruby-1.7.2@rails-3.2.11/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.0ms)
任何帮助或方向将不胜感激。
答案 0 :(得分:0)
在lib/routing_extensions.rb
中,我们有一个插件,需要根据rails 3.2.x方式安装。现在工作正常