Hey Roman ! Thanks ! Our take on the issue is quite different from cocoon. We're providing users with a complete wrapper around nested_attributes, which includes :
Easy configuration and syntax in the model
Easier permission of attributes in the controller
Either a preconfigured one-liner, or a very flexible way of displaying fields on the view side (without having to resort to quirky and unreliable data attributes)
Generators, including one that generates all the above config + a pre-filled partial.
Also, cocoon is implemented in jquery, whereas we chose to implement everything with stimulus. Have a look at the doc for more details 😬
Hey Roman ! Thanks ! Our take on the issue is quite different from cocoon. We're providing users with a complete wrapper around
nested_attributes
, which includes :cocoon
is implemented injquery
, whereas we chose to implement everything withstimulus
. Have a look at the doc for more details 😬Alright cool! I definitely try it out next time in need for nested forms! ✌️
Cool to use stimulus, it's definitely an underrated framework!