andypike / rectify

Build maintainable Rails apps
MIT License
596 stars 48 forks source link

Add nested forms with nested arrays support #57

Closed epoberezhny closed 1 year ago

epoberezhny commented 4 years ago

Hello @andypike!

I have nested form in my app. A model has a has_one relationship that has a has_many relationship but Rectify::Form.from_params method does not support this case out of the box. I added support for this case.

Note: I fixed travis config to avoid this problem with ruby 2.5.1 https://bundler.io/blog/2019/05/14/solutions-for-cant-find-gem-bundler-with-executable-bundle.html