In Advanced ActiveRecord Querying I learned you can nest joins.
I knew about joins(:suburb)
but didn’t realise you can join further, e.g. joins(suburb: :state)
.
You could even joins(suburb: { state: { country: { planet: { solar_system: :galaxy }}}})
!
N.B. Could ≠ Should