Skip to content

Instantly share code, notes, and snippets.

@bholzer
Created March 29, 2014 22:52
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 bholzer/9864403 to your computer and use it in GitHub Desktop.
Save bholzer/9864403 to your computer and use it in GitHub Desktop.
def import_contacts(file)
contacts = CSV.parse(Roo::Excelx.new(file.path))
Rails.logger.info(contacts)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment