activeadmin tag

4 questions


1 answers
99 views
0
'undefined method 'new_record?' for nil:NilClass' error in ActiveAdmin with Rail has_many relationship

ActiveAdmin in Rails implements a form method for an object with has_many relationship, but the error 'undefined method 'new_record?' for nil:NilClass' occurs.A has_many BA has_many CIn a relationship...


1 answers
122 views
0
ActiveModel::ForbiddenAttributesError occurs when you try to enter a value in Rails ActiveAdmin.

For the implementation of the basic model admin, we have created a file that can modify ModelName as follows. ActiveAdmin.register ModelName do menu priority: 2, label: 'aaa', parent: 'bbb'endIt goes ...


1 answers
88 views
0
How do I add a new Admin user to ActiveAdmin?

Rails is using Active Admin. I forgot my initial ID and password. How do I add new admin users?


1 answers
94 views
0
Mark as image in the list (index) of ActiveAdmin.

Rails has a column called image_url in the model, how do I display this image in the index of ActiveAdmin?


© 2024 OneMinuteCode. All rights reserved.