Displaying 2 results from an estimated 2 matches for "add_tel".
Did you mean:
add_new
2006 Aug 10
4
exporting vcards from rails
i''m doing a site for someone that has a form set up to collect contact
information from the user. i installed the vpim gem and was hoping to
give my client a way to download all of the contact''s information as a
vcard. using the examples, i was able to get it working in ruby, but i''m
not quite sure how to generate and download a vcard on the fly.
has anyone done
2007 May 05
1
Problem in Vcard generation
...am able to send that vcard through mail.
If i try to open that vcard through thunderbird, all the fields
getting stored in address book except mobile number, Here ia m send the
code for adding mobile number into vcard..
if @bizcard_label.mobile_number!=""
flag=1
maker.add_tel(@bizcard_label.mobile_number.to_s) do |mob|
mob.location=''cell''
mob.preferred = true
end
end
Above code mobile number will come as 10 digit number.
Is my approach correct? or am i doing anything wrong?
regards
Selva
--
Posted via http://www....