named_scope: app/models/principal.rb