• Thong Kuah's avatar
    Eager load clusters to prevent N+1 · 6c642c08
    Thong Kuah authored
    This also means we need to apply the `current_scope` otherwise this
    method will return all clusters associated with the groups regardless of
    any scopes applied to this method
    6c642c08
cluster_spec.rb 14.1 KB