Skip to content

Instantly share code, notes, and snippets.

@kwbock
kwbock / intercom_account_backfill.rb
Created December 7, 2016 15:46
Backfill intercom account stuff
# Manually backfill teams in Intercom if needed
Team.find_each do |t|
account = t.accounts.first
next unless account
BackgroundIntercomAccountCreator.perform_async(account.id)
end