There is currently hard coding in this gem specific to a single project. We can remove it by obtaining the associations and their aliases from the ActiveRecord class objects instead.
It would be nice to specify a list of objects to contain in a parent object using syntax similar to the following:
And the following new line_items for order with id "12345"
| name | price | quantity |
| product1 | 2.50 | 3 |
| product2 | 1.75 | 1 |
| product3 | 4.99 | 5 |