Displaying 4 results from an estimated 4 matches for "add_addr".
Did you mean:
end_addr
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
2006 Apr 11
4
Vpim::Vcard Line Breaks
...treet with vpim-0.360:
% cat ex_multiline.rb
require ''vpim/vcard''
card = Vpim::Vcard::Maker.make2 do |maker|
maker.add_name do |name|
name.prefix = ''Dr.''
name.given = ''Jimmy''
name.family = ''Death''
end
maker.add_addr do |addr|
addr.preferred = true
addr.location = ''work''
addr.street = "12 Last Row,\n13th Section"
addr.locality = ''City of Lost Children''
addr.country = ''Cinema''
end
end
puts card
card = Vpim::Vcard.decode(card....
2008 Jun 18
1
Vpim gem
On Wed, Jun 18, 2008 at 6:32 AM, Joost Hietbrink <joost at joopp.com> wrote:
> Hi Sam Roberts,
> First of all. Thanks for the Vpim gem. We use it at www.yelloyello.com and
> it works great.
I''m glad to hear that.
> We''ve only encountered the following error:
> # NoMethodError (undefined method `to_str'' for []:Array):
> #
>
2006 Mar 18
6
ActiveLDAP and variable sub scope object writing
Anyone out there using ActiveLDAP have an idea how I can accomplish
creating an object one level below a known base where we have a variable
item in the middle?
That first sentence doesn''t even make sense to me. Here''s what I want
to do: I have a user class that I use for managing users. Each user
gets a ou called addressbook (which in turn will contain sub-entries,
but