This is the old, pre-Rails-3.0 `:include` syntax. I would use `all.includes(:zone => { :zone_members => :zoneable }).select`.