こんにちは!
Rubyで通知タイプが「watching」のすべてのユーザーを取得するにはどうすればよいですか?
こんにちは!
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)
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.