railsadminteam/rails_admin

undefined method `map' for nil:NilClass with new enum

danielb2 opened this issue · 2 comments

Describe the bug

Trying to access view of table after adding new columns one with enum type

Reproduction steps

class AddBoardErrorTrackingToProjections < ActiveRecord::Migration[7.0]
  def change
    create_enum :board_error_type, %w[foo bar]
    add_column :projections, :board_error_type, :board_error_type
  end
end

Expected behavior
Display board as usual

Additional context

  • rails version: 7.0.4.3
  • rails_admin version: 3.1.2

Screen Shot 2023-04-20 at 10 11 12

Full stack trace 2023-04-20 10:08:52.633270 F [78109:puma srv tp 002 thread_local_var.rb:93] Rails -- Exception: ActionView::Template::Error: undefined method `map' for nil:NilClass /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/fields/types/enum.rb:14:in `block in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/configurable.rb:77:in `instance_eval' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/configurable.rb:77:in `block in register_instance_option' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/fields/base.rb:106:in `filter_options' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/proxyable/proxy.rb:27:in `method_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:33:in `block (2 levels) in ___sers_daniel__asdf_installs_ruby_______lib_ruby_gems_______gems_rails_admin_______app_views_rails_admin_main_index_html_erb___151250817045761651_102160' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:28:in `each' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:28:in `block in ___sers_daniel__asdf_installs_ruby_______lib_ruby_gems_______gems_rails_admin_______app_views_rails_admin_main_index_html_erb___151250817045761651_102160' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:45:in `block in capture' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:45:in `capture' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:159:in `content_for' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:20:in `___sers_daniel__asdf_installs_ruby_______lib_ruby_gems_______gems_rails_admin_______app_views_rails_admin_main_index_html_erb___151250817045761651_102160' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/base.rb:244:in `public_send' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/base.rb:244:in `_run' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/template.rb:157:in `block in render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/template.rb:361:in `instrument_render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/template.rb:155:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:65:in `block (2 levels) in render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:60:in `block in render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:75:in `block in render_with_layout' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:74:in `render_with_layout' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:59:in `render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:11:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/renderer.rb:29:in `render_to_object' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:117:in `block in _render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/base.rb:270:in `in_rendering_context' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:116:in `_render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/streaming.rb:216:in `_render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:103:in `render_to_body' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rendering.rb:46:in `render_to_body' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/renderers.rb:141:in `render_to_body' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/rendering.rb:25:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rendering.rb:30:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:22:in `block (2 levels) in render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/3.2.0/benchmark.rb:311:in `realtime' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/core_ext/benchmark.rb:14:in `ms' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:22:in `block in render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:91:in `cleanup_view_runtime' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:21:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/actions/index.rb:47:in `block (4 levels) in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/mime_responds.rb:214:in `respond_to' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/actions/index.rb:45:in `block (2 levels) in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/controllers/rails_admin/main_controller.rb:38:in `instance_eval' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/controllers/rails_admin/main_controller.rb:38:in `action_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/base.rb:229:in `_handle_action_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/base.rb:215:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rendering.rb:53:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/callbacks.rb:234:in `block in process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:118:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actiontext-7.0.4.3/lib/action_text/rendering.rb:20:in `with_renderer' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actiontext-7.0.4.3/lib/action_text/engine.rb:69:in `block (4 levels) in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `instance_exec' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/audited-5.3.2/lib/audited/sweeper.rb:16:in `around' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/audited-5.3.2/lib/audited/sweeper.rb:16:in `around' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-rails-5.9.0/lib/sentry/rails/controller_transaction.rb:28:in `block in sentry_around_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/hub.rb:102:in `with_child_span' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry-ruby.rb:456:in `with_child_span' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-rails-5.9.0/lib/sentry/rails/controller_transaction.rb:14:in `sentry_around_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:138:in `run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/callbacks.rb:233:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rescue.rb:22:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:67:in `block in process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:66:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/params_wrapper.rb:259:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/railties/controller_runtime.rb:27:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/base.rb:151:in `process' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:39:in `process' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal.rb:188:in `dispatch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal.rb:251:in `dispatch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:49:in `dispatch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:32:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:50:in `block in serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `each' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:852:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/engine.rb:530:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/railtie.rb:226:in `public_send' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/railtie.rb:226:in `method_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/mapper.rb:19:in `block in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/mapper.rb:48:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:50:in `block in serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `each' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:852:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/bullet-7.0.7/lib/bullet/rack.rb:17:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/rack/browser_monitoring.rb:38:in `traced_call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-attack-6.6.1/lib/rack/attack.rb:127:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-jwt_auth-0.8.0/lib/warden/jwt_auth/middleware/token_dispatcher.rb:20:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-jwt_auth-0.8.0/lib/warden/jwt_auth/middleware/revocation_manager.rb:21:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/builder.rb:244:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-jwt_auth-0.8.0/lib/warden/jwt_auth/middleware.rb:22:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/method_override.rb:24:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:266:in `context' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:260:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/cookies.rb:704:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/exception_notification-4.5.0/lib/exception_notification/rack.rb:49:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/tempfile_reaper.rb:15:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/etag.rb:27:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/conditional_get.rb:27:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/head.rb:12:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/http/permissions_policy.rb:38:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/http/content_security_policy.rb:36:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:266:in `context' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:260:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/cookies.rb:704:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:603:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:99:in `run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/executor.rb:14:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-rails-5.9.0/lib/sentry/rails/rescued_exception_interceptor.rb:12:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:132:in `call_app' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:28:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:17:in `catch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:17:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/rack/capture_exceptions.rb:28:in `block (2 levels) in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/hub.rb:223:in `with_session_tracking' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry-ruby.rb:385:in `with_session_tracking' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/rack/capture_exceptions.rb:19:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/hub.rb:59:in `with_scope' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry-ruby.rb:365:in `with_scope' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/rack/capture_exceptions.rb:18:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/show_exceptions.rb:26:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_semantic_logger-4.12.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_semantic_logger-4.12.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/remote_ip.rb:93:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/request_id.rb:26:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/method_override.rb:24:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/runtime.rb:22:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/executor.rb:14:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/static.rb:23:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/sendfile.rb:110:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/host_authorization.rb:137:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-cors-2.0.1/lib/rack/cors.rb:102:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-mini-profiler-3.1.0/lib/mini_profiler.rb:413:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/engine.rb:530:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/configuration.rb:270:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/request.rb:98:in `block in handle_request' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/thread_pool.rb:340:in `with_force_shutdown' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/request.rb:97:in `handle_request' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/server.rb:431:in `process_client' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/server.rb:233:in `block in run' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/thread_pool.rb:147:in `block in spawn_thread' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/tracer.rb:434:in `block (2 levels) in thread_block_with_current_transaction' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/tracer.rb:356:in `capture_segment_error' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/tracer.rb:433:in `block in thread_block_with_current_transaction' Cause: NoMethodError: undefined method `map' for nil:NilClass /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/fields/types/enum.rb:14:in `block in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/configurable.rb:77:in `instance_eval' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/configurable.rb:77:in `block in register_instance_option' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/fields/base.rb:106:in `filter_options' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/proxyable/proxy.rb:27:in `method_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:33:in `block (2 levels) in ___sers_daniel__asdf_installs_ruby_______lib_ruby_gems_______gems_rails_admin_______app_views_rails_admin_main_index_html_erb___151250817045761651_102160' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:28:in `each' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:28:in `block in ___sers_daniel__asdf_installs_ruby_______lib_ruby_gems_______gems_rails_admin_______app_views_rails_admin_main_index_html_erb___151250817045761651_102160' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:45:in `block in capture' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:45:in `capture' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/helpers/capture_helper.rb:159:in `content_for' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/views/rails_admin/main/index.html.erb:20:in `___sers_daniel__asdf_installs_ruby_______lib_ruby_gems_______gems_rails_admin_______app_views_rails_admin_main_index_html_erb___151250817045761651_102160' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/base.rb:244:in `public_send' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/base.rb:244:in `_run' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/template.rb:157:in `block in render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/template.rb:361:in `instrument_render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/template.rb:155:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:65:in `block (2 levels) in render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:60:in `block in render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:75:in `block in render_with_layout' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:74:in `render_with_layout' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:59:in `render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/template_renderer.rb:11:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/renderer/renderer.rb:29:in `render_to_object' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:117:in `block in _render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/base.rb:270:in `in_rendering_context' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:116:in `_render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/streaming.rb:216:in `_render_template' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:103:in `render_to_body' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rendering.rb:46:in `render_to_body' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/renderers.rb:141:in `render_to_body' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/rendering.rb:25:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rendering.rb:30:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:22:in `block (2 levels) in render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/3.2.0/benchmark.rb:311:in `realtime' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/core_ext/benchmark.rb:14:in `ms' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:22:in `block in render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:91:in `cleanup_view_runtime' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:21:in `render' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/actions/index.rb:47:in `block (4 levels) in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/mime_responds.rb:214:in `respond_to' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/lib/rails_admin/config/actions/index.rb:45:in `block (2 levels) in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/controllers/rails_admin/main_controller.rb:38:in `instance_eval' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_admin-3.1.2/app/controllers/rails_admin/main_controller.rb:38:in `action_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/base.rb:229:in `_handle_action_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/base.rb:215:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rendering.rb:53:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/callbacks.rb:234:in `block in process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:118:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actiontext-7.0.4.3/lib/action_text/rendering.rb:20:in `with_renderer' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actiontext-7.0.4.3/lib/action_text/engine.rb:69:in `block (4 levels) in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `instance_exec' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/audited-5.3.2/lib/audited/sweeper.rb:16:in `around' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/audited-5.3.2/lib/audited/sweeper.rb:16:in `around' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-rails-5.9.0/lib/sentry/rails/controller_transaction.rb:28:in `block in sentry_around_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/hub.rb:102:in `with_child_span' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry-ruby.rb:456:in `with_child_span' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-rails-5.9.0/lib/sentry/rails/controller_transaction.rb:14:in `sentry_around_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:127:in `block in run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:138:in `run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/callbacks.rb:233:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/rescue.rb:22:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:67:in `block in process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `block in instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications.rb:206:in `instrument' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/instrumentation.rb:66:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal/params_wrapper.rb:259:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/railties/controller_runtime.rb:27:in `process_action' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/abstract_controller/base.rb:151:in `process' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionview-7.0.4.3/lib/action_view/rendering.rb:39:in `process' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal.rb:188:in `dispatch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_controller/metal.rb:251:in `dispatch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:49:in `dispatch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:32:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:50:in `block in serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `each' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:852:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/engine.rb:530:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/railtie.rb:226:in `public_send' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/railtie.rb:226:in `method_missing' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/mapper.rb:19:in `block in ' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/mapper.rb:48:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:50:in `block in serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `each' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/journey/router.rb:32:in `serve' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/routing/route_set.rb:852:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/bullet-7.0.7/lib/bullet/rack.rb:17:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/rack/browser_monitoring.rb:38:in `traced_call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-attack-6.6.1/lib/rack/attack.rb:127:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-jwt_auth-0.8.0/lib/warden/jwt_auth/middleware/token_dispatcher.rb:20:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-jwt_auth-0.8.0/lib/warden/jwt_auth/middleware/revocation_manager.rb:21:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/builder.rb:244:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-jwt_auth-0.8.0/lib/warden/jwt_auth/middleware.rb:22:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/method_override.rb:24:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:266:in `context' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:260:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/cookies.rb:704:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/exception_notification-4.5.0/lib/exception_notification/rack.rb:49:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/tempfile_reaper.rb:15:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/etag.rb:27:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/conditional_get.rb:27:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/head.rb:12:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/http/permissions_policy.rb:38:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/http/content_security_policy.rb:36:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:266:in `context' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/session/abstract/id.rb:260:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/cookies.rb:704:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:603:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:99:in `run_callbacks' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/executor.rb:14:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-rails-5.9.0/lib/sentry/rails/rescued_exception_interceptor.rb:12:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:132:in `call_app' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:28:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:17:in `catch' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/web-console-4.2.0/lib/web_console/middleware.rb:17:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/rack/capture_exceptions.rb:28:in `block (2 levels) in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/hub.rb:223:in `with_session_tracking' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry-ruby.rb:385:in `with_session_tracking' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/rack/capture_exceptions.rb:19:in `block in call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/hub.rb:59:in `with_scope' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry-ruby.rb:365:in `with_scope' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/sentry-ruby-5.9.0/lib/sentry/rack/capture_exceptions.rb:18:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/show_exceptions.rb:26:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_semantic_logger-4.12.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rails_semantic_logger-4.12.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/remote_ip.rb:93:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/request_id.rb:26:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/method_override.rb:24:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/runtime.rb:22:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/executor.rb:14:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/static.rb:23:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-2.2.6.4/lib/rack/sendfile.rb:110:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/actionpack-7.0.4.3/lib/action_dispatch/middleware/host_authorization.rb:137:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-cors-2.0.1/lib/rack/cors.rb:102:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/rack-mini-profiler-3.1.0/lib/mini_profiler.rb:413:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/railties-7.0.4.3/lib/rails/engine.rb:530:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/configuration.rb:270:in `call' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/request.rb:98:in `block in handle_request' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/thread_pool.rb:340:in `with_force_shutdown' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/request.rb:97:in `handle_request' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/server.rb:431:in `process_client' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/server.rb:233:in `block in run' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/puma-6.2.2/lib/puma/thread_pool.rb:147:in `block in spawn_thread' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/tracer.rb:434:in `block (2 levels) in thread_block_with_current_transaction' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/tracer.rb:356:in `capture_segment_error' /Users/daniel/.asdf/installs/ruby/3.2.1/lib/ruby/gems/3.2.0/gems/newrelic_rpm-9.2.0/lib/new_relic/agent/tracer.rb:433:in `block in thread_block_with_current_transaction'

ok it's because I didn't have the enum configured in the model. but maybe there's some better way than this crash. database is postgresql