Hi!,
How do we get all the users who have “watching” as notification type in 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)