안녕하세요!
Ruby에서 알림 유형이 "watching"인 모든 사용자를 가져오는 방법은 무엇인가요?
CategoryUser.where(notification_level: CategoryUser.notification_levels[:watching]).pluck(:user_id)
CategoryUser.where(notification_level: CategoryUser.notification_levels[:watching_first_post]).pluck(:user_id)