Привет!
Как получить всех пользователей с типом уведомления «watching» на 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)