我正在使用Devise 3.1.1开发用于用户身份验证的Rails 4应用程序.当我单击/users/sign_up.user链接时,Rails会抛出以下异常:
ActionController::UnknownFormat in Devise::RegistrationsController#new ActionController::UnknownFormat Rails.root: /home/rehan/odesk_work/kiefer-waight/ujoin/ujoin-www Application Trace | Framework Trace | Full Trace actionpack (4.0.0) lib/action_controller/Metal/mime_responds.rb:372:in `retrieve_collector_from_mimes' actionpack (4.0.0) lib/action_controller/Metal/mime_responds.rb:327:in `respond_with' devise (3.1.1) app/controllers/devise/registrations_controller.rb:8:in `new' actionpack (4.0.0) lib/action_controller/Metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0) lib/action_controller/Metal/rendering.rb:10:in `process_action' actionpack (4.0.0) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0) lib/active_support/callbacks.rb:413:in `_run__890637270__process_action__callbacks' ....
我在启动应用程序时实际上是在Devise 3.0.0.rc上,我认为将设备升级到3.1.1可能会解决问题,但事实并非如此.在SO / google / devise github项目中找不到任何有用的东西.任何想法如何解决它.谢谢!