Skip to content

Instantly share code, notes, and snippets.

@Suryam1260
Created February 6, 2025 11:20
Show Gist options
  • Save Suryam1260/beb492523e63455c22059a42b58502ba to your computer and use it in GitHub Desktop.
Save Suryam1260/beb492523e63455c22059a42b58502ba to your computer and use it in GitHub Desktop.
user_emails = %w[
aarjav.hansoti01@gmail.com
darshanborole03@gmail.com
hitarthnp2002@gmail.com
shahdhruvmayank@gmail.com
shreyasnm03@gmail.com
maitrijkothari@gmail.com
anshikapt9927@gmail.com
doshiaditi1231@gmail.com
manjupriyadurai@gmail.com
raainanagpal@gmail.com
]
users_ids = User.where(email: user_emails).pluck(:id)
users_ids.each do |user_id|
Scaler::Crm::UpdateDetailsJob.perform_later(
user_id: user_id,
program: 'school_of_business'
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment