Nick Sutterer
Nick Sutterer
@mcmire In the nested form, you need to use `model` to configure it. ```ruby collection :items do model LineItem ```
Why is the naming so important in the first place? For nested forms, it doesn't call URL helpers or anything, and Reform's deserializer will map it back properly.
The solution is to release Formular and leave this crap behind us, ahead into a brighter future.
We kind of have this feature out of the box, and much cleaner than Rails 5: If you want to know a specific item's errors, you can do `form.items[2].errors`, which...
@doits I am pretty sure the current implementation in Reform 2.3.0.rc2 does that, you can say `form.items.errors` and it compiles you a list?!
Hi! Ideally, you'd patch this because this feature has been abandoned for a long time - can you find out what went wrong and help us with it? :heart_eyes:
Only the copying, everything else works fine! Thanks!
We might have to add this check, then. Thanks! The real solution here is to push the Formular gem since we can ditch this entire hack, then.
I would rather implement that as a module and then make people include it, e.g. `Modelless` or something. That way, we can save all the `if`s because I don't like...
Oh interesting, I did not see that discussion! :+1: