Skip to Content Skip to Search
Methods
R

Class Public methods

run!()

# File lib/tasks/src/prime_site_notification_settings.rb, line 3
def run!
  DB::SiteSettings
    .where("notifications_data->>'member_joins_plan' IS NULL")
    .find_each do |settings|
      settings.notify_when!(:member_joins_plan)
    end
end