• Matthias Kaeppler's avatar
    Fix duplicate query problem · b539ba50
    Matthias Kaeppler authored
    We were loading board issues twice, because we invalidated the
    issues scope after loading them by adding another `preload`,
    so the query fired again during template rendering.
    By eager-loading issues upfront, we can enforce this to always be
    just one query.
    b539ba50
issues_controller_spec.rb 19.8 KB