rails / 6.1 / activerecord / scoping / named