Feature(s) impacted
I have a many to many relations between two models Coupon and Category, I go to the Categories collection, I select one and I want to see coupons related at
Observed behavior
I got an error “Forest Association Index Count error: undefined method `klass’ for nil:NilClass”
Expected behavior
I should see coupon related at my category
Failure Logs
Processing by ForestLiana::AssociationsController#count as JSON
Parameters: {"fields"=>{"Coupon"=>"label,value,reduction_type,state,unique,max_usage,minimum_purchase,maximum_purchase,promo_message,fullname,reason_type,territory,created_at,start_at,updated_at,end_at,origin", "territory"=>"name"}, "timezone"=>"Europe/Paris", "collection"=>"Category", "id"=>"2620", "association_name"=>"coupons"}
DEPRECATION WARNING: Time#to_s(:db) is deprecated. Please use Time#to_fs(:db) instead. (called from count at /Users/loicboussiquet/MVMS/APIs/api-stats/lib/forest_liana/controllers/associations_controller.rb:27)
[2023-06-02 16:18:02] Forest 🌳🌳🌳 Association Index Count error: undefined method `klass' for nil:NilClass
through_reflection.klass._reflect_on_association(source_reflection_name)
^^^^^^
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activerecord-7.0.3.1/lib/active_record/reflection.rb:814:in `source_reflection'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activerecord-7.0.3.1/lib/active_record/reflection.rb:1021:in `derive_class_name'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activerecord-7.0.3.1/lib/active_record/reflection.rb:166:in `class_name'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activerecord-7.0.3.1/lib/active_record/reflection.rb:793:in `klass'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/forest_liana-7.8.1/app/services/forest_liana/has_many_getter.rb:44:in `block in compute_includes'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/forest_liana-7.8.1/app/services/forest_liana/has_many_getter.rb:42:in `select'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/forest_liana-7.8.1/app/services/forest_liana/has_many_getter.rb:42:in `compute_includes'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/forest_liana-7.8.1/app/services/forest_liana/has_many_getter.rb:14:in `initialize'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/forest_liana-7.8.1/app/controllers/forest_liana/associations_controller.rb:31:in `new'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/forest_liana-7.8.1/app/controllers/forest_liana/associations_controller.rb:31:in `count'
/Users/loicboussiquet/MVMS/APIs/api-stats/lib/forest_liana/controllers/associations_controller.rb:27:in `count'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/abstract_controller/base.rb:215:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/rendering.rb:53:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/abstract_controller/callbacks.rb:234:in `block in process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actiontext-7.0.3.1/lib/action_text/rendering.rb:20:in `with_renderer'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actiontext-7.0.3.1/lib/action_text/engine.rb:69:in `block (4 levels) in <class:Engine>'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/callbacks.rb:127:in `instance_exec'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/callbacks.rb:138:in `run_callbacks'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/abstract_controller/callbacks.rb:233:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/instrumentation.rb:67:in `block in process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/notifications.rb:206:in `block in instrument'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/notifications.rb:206:in `instrument'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/instrumentation.rb:66:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/searchkick-4.5.0/lib/searchkick/logging.rb:212:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activerecord-7.0.3.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/abstract_controller/base.rb:151:in `process'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionview-7.0.3.1/lib/action_view/rendering.rb:39:in `process'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal.rb:188:in `dispatch'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_controller/metal.rb:251:in `dispatch'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/routing/route_set.rb:32:in `serve'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/journey/router.rb:32:in `each'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/journey/router.rb:32:in `serve'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/routing/route_set.rb:852:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-cors-2.0.0/lib/rack/cors.rb:102:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/stack.rb:61:in `block in call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/notifications.rb:206:in `block in instrument'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/notifications.rb:206:in `instrument'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/stack.rb:60:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3.1/lib/rails/engine.rb:530:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3.1/lib/rails/railtie.rb:226:in `public_send'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3.1/lib/rails/railtie.rb:226:in `method_missing'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/journey/router.rb:50:in `block in serve'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/journey/router.rb:32:in `each'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/journey/router.rb:32:in `serve'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/routing/route_set.rb:852:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/rack/browser_monitoring.rb:38:in `traced_call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/session/abstract/id.rb:266:in `context'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/session/abstract/id.rb:260:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/cookies.rb:697:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/tempfile_reaper.rb:15:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/etag.rb:27:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/conditional_get.rb:27:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/head.rb:12:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/http/permissions_policy.rb:38:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/http/content_security_policy.rb:36:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/session/abstract/id.rb:266:in `context'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/session/abstract/id.rb:260:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/cookies.rb:697:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activerecord-7.0.3.1/lib/active_record/migration.rb:603:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/callbacks.rb:99:in `run_callbacks'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:87:in `protected_app_call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:82:in `better_errors_call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:60:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/show_exceptions.rb:26:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3.1/lib/rails/rack/logger.rb:40:in `call_app'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3.1/lib/rails/rack/logger.rb:25:in `block in call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/tagged_logging.rb:114:in `block in tagged'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/tagged_logging.rb:38:in `tagged'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/tagged_logging.rb:114:in `tagged'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3.1/lib/rails/rack/logger.rb:25:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/remote_ip.rb:93:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/request_id.rb:26:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/method_override.rb:24:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/runtime.rb:22:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/server_timing.rb:20:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/static.rb:23:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-2.2.6.3/lib/rack/sendfile.rb:110:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.0.3.1/lib/action_dispatch/middleware/host_authorization.rb:137:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rack-cors-2.0.0/lib/rack/cors.rb:102:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-7.0.3.1/lib/rails/engine.rb:530:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/tracer.rb:432:in `block (2 levels) in thread_block_with_current_transaction'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/tracer.rb:356:in `capture_segment_error'
/Users/loicboussiquet/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/newrelic_rpm-9.0.0/lib/new_relic/agent/tracer.rb:431:in `block in thread_block_with_current_transaction'
Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms | Allocations: 7337)
Context
- Project name: MVMS-API-Stats
- Team name: Operations
- Environment name: Development (Local)
- Agent (forest package) name & version: Forest-liana 7.8.1
- Database type: postgressql
- Recent changes made on your end if any: …