Rails 5: Nested Forms And Existing Associated Objects August 25, 2023 Post a Comment I'm relatively new to Rails so please forgive me if this turns out to be quite a naive question. :] I have two models that can be tagged: Collection and Video. I support this via aSolution 1: you need to do it manually, it's not that much code.Similar questionBasically, you'll need find_or_create_by in your controller (doc) and fields_for (doc) in your Collection and Video views. Share Post a Comment for "Rails 5: Nested Forms And Existing Associated Objects"
Post a Comment for "Rails 5: Nested Forms And Existing Associated Objects"