Delete Active Admin resource


$ rails destroy active_admin:resource model name

You can now delete it.

I wrote it because it didn't come out easily even if I googled it.

Recommended Posts

Delete Active Admin resource
[Active Admin] rails g active_admin: Create model management screen by resource model name
[Active Admin] customize the delete button generated by has_many + nested_attributes_for + allow_destroy association_form
Post / delete multiple images with Active Storage
Cannot create user from Active Admin admin screen