Thank you Joel. It's good to know that it's working as designed and
that I'm not doing it the wrong way. It's hard to visualize the
relation being setup as it is. In all fairness the relations are
On Oct 23, 5:44 pm, Joel <
joel.olive...@gmail.com> wrote:
> I got hung up on this too. I think the combination of how it's
> described in the model (references_many) combined with the mental/
> visual representation of embeds_many can help get things a bit
> twisted. After you see it working though it makes sense - it's
> essentially the same way activerecord works with has_many and belongs
> to - the parent id is stored with the child ... and not the child id's
> being stored within the parent.
>
> As an exercise to remind myself of this down the line (perhaps to just
> force my brain to get it right) I just put up a blog post with some
> ramblings on how it ends up within the database.
>