para-cms / para

Rails complete admin interface builder
MIT License
12 stars 9 forks source link

Server needs to be restarted when using `Para::Sti::RootModel` #52

Closed gabriel-cardoso closed 7 years ago

gabriel-cardoso commented 8 years ago

When using a Para::Sti::RootModel in a nested model, the dropdown with the subclasses is empty when I edit some code in my app. Server needs to be restarted to correctly load the subclasses list.

vala commented 7 years ago

This was fixed when we added the :nested_many input the :subclasses option, which forces us to explicitly add subclasses to the dropdowns, and fixes this issue which was bound to Rails dev environment reloading strategy