Add has_one :through
and has_many :through
associations
#21
Labels
enhancement
New feature or request
has_one :through
and has_many :through
associations
#21
We use these on a few models. Alternative solutions, like using
scoped_as
or additional instance methods are cumbersome and leak information (e.g., foreign key attribute names).Additionally, a common abstraction would allow for general optimizations of these queries without breaking changes.
The text was updated successfully, but these errors were encountered: