Skip to content

Instantly share code, notes, and snippets.

@dchelimsky
Forked from shwoodard/gist:251480
Created December 8, 2009 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dchelimsky/251599 to your computer and use it in GitHub Desktop.
Save dchelimsky/251599 to your computer and use it in GitHub Desktop.
def email
@emails = []
ContactImport.transaction do
emailed_association_requests.to_send.each do |ear|
ear.create_association_with(user.business)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment