In controllers it is possible to bind data from params to domain object easily.
e.g if Object A has b of B, then in your form you can put like this to create the r/ship: 115 more words
4,124 more words
The article was written during development. Therefore final solution differs from the code presented in the beginning of this post. If You want to see how working code looks like just check…