Skip to content

admin/owners/edit returns 500 "We're sorry, but something went wrong." error #1454

@ianheggie-oaf

Description

@ianheggie-oaf

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Login to morph.io as an admin
  2. Click "Admin Dashboard"
  3. Click "Owners"
  4. Click "Edit" link for an owner
  5. See error "We're sorry, but something went wrong."

Expected behavior

A form to allow editing owner should appear and allow you to update relevant details.

Screenshots/Output

production.log:

, [2026-01-08T02:13:03.307721 #13636]  INFO -- : [9587bd30-14be-430a-b1fd-7f54528a189f] Started GET "/admin/owners/nabongwon/edit" for 45.118.67.148 at 2026-01-08 02:13:03 +1100
I, [2026-01-08T02:13:03.308607 #13636]  INFO -- : [9587bd30-14be-430a-b1fd-7f54528a189f] Processing by Admin::OwnersController#edit as HTML
I, [2026-01-08T02:13:03.308662 #13636]  INFO -- : [9587bd30-14be-430a-b1fd-7f54528a189f]   Parameters: {"id"=>"nabongwon"}
I, [2026-01-08T02:13:03.311610 #13636]  INFO -- : [9587bd30-14be-430a-b1fd-7f54528a189f]   Rendering /var/www/shared/bundle/ruby/2.7.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/edit.html.arb
I, [2026-01-08T02:13:03.324979 #13636]  INFO -- : [9587bd30-14be-430a-b1fd-7f54528a189f]   Rendered /var/www/shared/bundle/ruby/2.7.0/gems/activeadmin-2.9.0/app/views/active_admin/resource/edit.html.arb (Duration: 13.2ms | Allocations: 10463)
I, [2026-01-08T02:13:03.325217 #13636]  INFO -- : [9587bd30-14be-430a-b1fd-7f54528a189f] Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.5ms | Allocations: 11903)
F, [2026-01-08T02:13:03.326521 #13636] FATAL -- : [9587bd30-14be-430a-b1fd-7f54528a189f]   
[9587bd30-14be-430a-b1fd-7f54528a189f] ActionView::Template::Error (undefined method `inputs' for #<ActiveAdmin::ResourceDSL:0x00000000349b2470>
Did you mean?  puts):
[9587bd30-14be-430a-b1fd-7f54528a189f]     1: insert_tag renderer_for(:edit)
[9587bd30-14be-430a-b1fd-7f54528a189f]   
[9587bd30-14be-430a-b1fd-7f54528a189f] app/admin/owner.rb:44:in `block (2 levels) in <main>'
I, [2026-01-08T02:13:03.342250 #13636]  INFO -- honeybadger: ** [Honeybadger] Reporting error id=4e20acaf-1a09-48bc-a28c-03d710b034d9 level=1 pid=13636

Additional context

This has only become visible since I fixed admin/owners/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions