Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. # Manually backfill teams in Intercom if needed
  2. Team.find_each do |t|
  3. account = t.accounts.first
  4. next unless account
  5.  
  6. BackgroundIntercomAccountCreator.perform_async(account.id)
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement