• Heinrich Lee Yu's avatar
    Fix N+1 when validating groups · 1e4a0de1
    Heinrich Lee Yu authored
    Removes the validates_associated call which calls `#valid?` on each
    runner of the group which triggers an N+1 query
    
    This improves the validation for RunnerNamespace so that we don't need
    to fire multiple SQL queries
    1e4a0de1
runner_spec.rb 27.4 KB