How can I set a paragraph's pid in rails_admin

31 views Asked by At

I'm a bit lost here. I am working on a RoR site on Heroku that has rails_admin installed. When I look at the list of paragraphs in the admin area, many have a pid set, and several do not. I need to create a new paragraph and set the pid so I can reference it in my code, but I have absolutely no clue where I can do it.

1

There are 1 answers

2
Ahmad Elassuty On BEST ANSWER

You can open rails console on the Heroku by this command if you have multiple environment

heroku run -a app-name console

Then you can create Paragraph normally with the needed attributes.

Rails admin does not change anything it just gives you a user interface to see the data in your database and a way to directly add new data if you want from the provided UI.