[Rails] VCard Upload Import

Benjamin Stiglitz
Thu, 12 Jan 2006 22:55:48 -0000

> if request.post? and params[:import_file]
> 	cards = Vpim::Vcard.decode(File.open(params[:import_file]))
> end

Try File::read instead of File::open.

-Ben