Forum: Ruby on Rails VCard Upload Import

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kyle M. (Guest)
on 2006-01-13 00:50
(Received via mailing list)
I'm trying to add Vcard import functionality and I keep getting the
following using the code provided below. I'm using the VPIM library
to decode the vcards and add them to my database table. Can someone
help me out, or point me in a different direction for importing
VCards. Thanks.

cannot convert StringIO into String

Controller Code:
require 'vpim/vcard'

if and params[:import_file]
	cards = Vpim::Vcard.decode([:import_file]))
This topic is locked and can not be replied to.