Re: Need :through to work as has many rather than HABTM

ChrisT [email protected] wrote:

I’d like to have
something like :through to model a has_many relationship rather than a
HABTM relationship
Users have many Models (and Models belong to Users)
Models have many Pieces (and Pieces belong to Models)
In a perfect world you would be able to use something like :through to
get user.pieces…
…but I know we don’t live in one of those.

Yep, it just got checked in a few days ago:

Scott R.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs