我在布局中包含了一个js(jquery.simulate),并在development.rb中声明为预编译。但是当我尝试运行rails app时,它突然出现了这个错误:ActionController::UnknownFormat: ActionController::UnknownFormat.
以下是完整的跟踪:
开始GET" /users/sign_in.js"对于127.0.0.1在2017-07-07 12:24:18 + 0530E,[2017-07-07T12:24:18.699146#31265]错误 - 哨兵:** [乌鸦]由于先前的失败而没有发送事件(s )。
E,[2017-07-07T12:24:18.699306#31265] ERROR - 哨兵:** [Raven]无法提交事件:ActionController :: UnknownFormat:ActionController :: UnknownFormat
2017-07-07 12:24:18 +0530严重性=致命,2017-07-07 12:24:18 +0530严重性=致命,ActionController :: UnknownFormat(ActionController :: UnknownFormat):2017-07-07 12: 24:18 +0530严重性=致命,2017-07-07 12:24:18 +0530严重性=致命,响应者(2.3.0)lib / action_controller / respond_with.rb:207:respond_with'
devise (4.2.0) app/controllers/devise/sessions_controller.rb:12:in
新&#39 ;
actionpack(5.0.1)lib / action_controller / metal / basic_implicit_render.rb:4:在send_action'
actionpack (5.0.1) lib/abstract_controller/base.rb:188:in
process_action'
actionpack(5.0.1)lib / action_controller / metal / rendering.rb:30:在process_action'中的process_action'
actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in
块中
activesupport(5.0.1)lib / active_support / callbacks.rb:126:在call'
activesupport (5.0.1) lib/active_support/callbacks.rb:506:in
块中(2级)编译'
activesupport(5.0.1)lib / active_support / callbacks.rb:455:在call'
activesupport (5.0.1) lib/active_support/callbacks.rb:101:in
run_callbacks '
activesupport(5.0.1)lib / active_support / callbacks.rb:750:在_run_process_action_callbacks'
activesupport (5.0.1) lib/active_support/callbacks.rb:90:in
run_callbacks'
actionpack(5.0.1)lib / abstract_controller / callbacks.rb:19:在process_action'
actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in
process_action'
actionpack(5.0.1)lib / action_controller / metal / instrumentation.rb:32:在block in process_action'
activesupport (5.0.1) lib/active_support/notifications.rb:164:in
块中的仪器'
activesupport(5.0.1)lib / active_support / notifications / instrumenter.rb:21:in instrument'
activesupport (5.0.1) lib/active_support/notifications.rb:164:in
instrument'
actionpack(5.0.1)lib / action_controller / metal / instrumentation.rb:30:在process_action'
actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in
process_action'
activerecord(5.0.1)lib / active_record / railties / controller_runtime.rb:18:in process_action'
actionpack (5.0.1) lib/abstract_controller/base.rb:126:in
进程'
actionview(5.0.1)lib / action_view / rendering.rb:30:在process'
actionpack (5.0.1) lib/action_controller/metal.rb:190:in
发送'
actionpack(5.0.1)lib / action_controller / metal.rb:262:在dispatch'
actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in
发送'
actionpack(5.0.1)lib / action_dispatch / routing / route_set.rb:32:in serve'
actionpack (5.0.1) lib/action_dispatch/routing/mapper.rb:16:in
块中'
actionpack(5.0.1)lib / action_dispatch / routing / mapper.rb:46:在serve'
actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in
块中的服务'
actionpack(5.0.1)lib / action_dispatch / journey / router.rb:26:in each'
actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in
serve'
actionpack(5.0.1)lib / action_dispatch / routing / route_set.rb:725:call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
来电'
apipie-rails(0.3.7)lib / apipie / static_dispatcher.rb:65:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
omniauth(1.3.2)lib / omniauth / strategy.rb:186:在call!'
omniauth (1.3.2) lib/omniauth/strategy.rb:164:in
电话'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
omniauth (1.3.2) lib/omniauth/strategy.rb:186:in
来电!'
omniauth(1.3.2)lib / omniauth / strategy.rb:164:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
omniauth(1.3.2)lib / omniauth / strategy.rb:186:在call!'
omniauth (1.3.2) lib/omniauth/strategy.rb:164:in
电话'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
omniauth (1.3.2) lib/omniauth/strategy.rb:186:in
来电!'
omniauth(1.3.2)lib / omniauth / strategy.rb:164:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
omniauth(1.3.2)lib / omniauth / strategy.rb:186:在call!'
omniauth (1.3.2) lib/omniauth/strategy.rb:164:in
电话'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
omniauth (1.3.2) lib/omniauth/strategy.rb:186:in
来电!'
omniauth(1.3.2)lib / omniauth / strategy.rb:164:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
bullet(5.5.0)lib / bullet / rack.rb:12:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
apipie-rails(0.3.7)lib / apipie / extractor / recorder.rb:132:在call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
电话'
jquery-fileupload-rails(0.4.7)lib / jquery / fileupload / rails / middleware.rb:14:in _call'
jquery-fileupload-rails (0.4.7) lib/jquery/fileupload/rails/middleware.rb:10:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/rack/agent_hooks.rb:30:in
traced_call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/rack/browser_monitoring.rb:32:in
traced_call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
omniauth (1.3.2) lib/omniauth/strategy.rb:403:in
call_app!'
omniauth-saml(1.7.0)lib / omniauth / strategies / saml.rb:135:other_phase'
omniauth (1.3.2) lib/omniauth/strategy.rb:185:in
电话!'
omniauth(1.3.2)lib / omniauth / strategy.rb:164:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
omniauth(1.3.2)lib / omniauth / builder.rb:63:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
warden(1.2.7)lib / warden / manager.rb:36:in block in call'
warden (1.2.7) lib/warden/manager.rb:35:in
catch'
warden(1.2.7)lib / warden / manager.rb:35:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
来电'
rack(2.0.1)lib / rack / etag.rb:25:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
rack(2.0.1)lib / rack / conditional_get.rb:25:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
rack(2.0.1)lib / rack / head.rb:12:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
rack(2.0.1)lib / rack / session / abstract / id.rb:222:in context'
rack (2.0.1) lib/rack/session/abstract/id.rb:216:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
activerecord (5.0.1) lib/active_record/migration.rb:553:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in
阻止通话'
activesupport(5.0.1)lib / active_support / callbacks.rb:97:in __run_callbacks__'
activesupport (5.0.1) lib/active_support/callbacks.rb:750:in
_ run_call_callbacks'
activesupport(5.0.1)lib / active_support / callbacks.rb:90:in run_callbacks'
actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in
call'
newrelic_rpm(3.18.0.329)lib / new_relic / agent / instrumentation / middleware_tracing.rb:96:in call'
railties (5.0.1) lib/rails/rack/logger.rb:36:in
call_app'
railties(5.0.1)lib / rails / rack / logger.rb:26:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
来电'
sprockets-rails(3.2.0)lib / sprockets / rails / quiet_assets.rb:13:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
request_store(1.3.2)lib / request_store / middleware.rb:9:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
actionpack(5.0.1)lib / action_dispatch / middleware / request_id.rb:24:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
rack(2.0.1)lib / rack / method_override.rb:22:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
rack(2.0.1)lib / rack / runtime.rb:22:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
activesupport(5.0.1)lib / active_support / cache / strategy / local_cache_middleware.rb:28:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
actionpack(5.0.1)lib / action_dispatch / middleware / executor.rb:12:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
actionpack(5.0.1)lib / action_dispatch / middleware / static.rb:136:call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
来电'
rack(2.0.1)lib / rack / sendfile.rb:111:在call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
电话'
rack-cors(0.4.1)lib / rack / cors.rb:81:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
call'
sentry-raven(2.3.0)lib / raven / integrations / rack.rb:50:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
来电'
railties(5.0.1)lib / rails / engine.rb:522:在call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
电话'
rack(2.0.1)lib / rack / deflater.rb:35:in call'
newrelic_rpm (3.18.0.329) lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in
来电'
puma(3.7.0)lib / puma / configuration.rb:226:在call'
puma (3.7.0) lib/puma/server.rb:578:in
handle_request'
puma(3.7.0)lib / puma / server.rb:415:在process_client'
puma (3.7.0) lib/puma/server.rb:275:in
块中运行'