El jue 17 jul 2014 16:47:17 ECT, kevinpfromnm escribió:
> I haven't done much with it but it seems like it's informing rails of
> the other side of the relationship which is mostly useful for avoiding
> extra DB calls and in rare cases, out of date models.
>
> Say you have a post, which has many comments.  You load post with all
> comments.  Without the inverse of, if you call post from within a
> comment, it makes a new DB call to load post because rails doesn't
> know that it already has the appropriate information.
>
> I saw an example, where the parent was changed but the child still had
> old info.  It seemed rather contrived, but I suppose someone might run
> into problems with it.

Thank you for the info. Shouldn't this be incorporated into Hobo 
instead of the user needing to include it in every relationship?

--
Saludos libres,
Quiliro Ordóñez
600 8579

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to