• Mario de la Ossa's avatar
    Remove the N+1 in Profiles::NotificationsController · 0338f3ac
    Mario de la Ossa authored
    In order to do this we have to load all the Groups a user has access to
    in memory and then load all the NotificationSettings as well so we can
    match them up in memory and look up the tree to create "inherited"
    NotificationSettings.
    0338f3ac
notifications_controller_spec.rb 3.98 KB