Obtenez tous les utilisateurs ayant 'watching' comme type de notification

Salut !
Comment obtenir tous les utilisateurs qui ont le type de notification « regarder » en Ruby ?

CategoryUser.where(notification_level: CategoryUser.notification_levels[:watching]).pluck(:user_id)

CategoryUser.where(notification_level: CategoryUser.notification_levels[:watching_first_post]).pluck(:user_id)