finally got through all the issues of using self-signed certs and now
have my iCal file in hand. Now I need a procedure to parse without
tossing errors for unknown methods and it should be simple but it
escapes me (Rails dummy here)...
Obviously I need a way to live with attributes that aren''t part of the
standard definition. I presume that I need to extend the Icalendar class
in some manner...
>> cals=Icalendar.parse(result)
NoMethodError: Method Name: aalarm
from
/usr/lib/ruby/gems/1.8/gems/icalendar-1.0.2/lib/icalendar/component.rb:413:in
`method_missing''
from /usr/lib/ruby/gems/1.8/gems/icalendar-1.0.2/lib/icalendar/parser.rb:179:in
`send''
from /usr/lib/ruby/gems/1.8/gems/icalendar-1.0.2/lib/icalendar/parser.rb:179:in
`parse_component''
from /usr/lib/ruby/gems/1.8/gems/icalendar-1.0.2/lib/icalendar/parser.rb:131:in
`parse_component''
from /usr/lib/ruby/gems/1.8/gems/icalendar-1.0.2/lib/icalendar/parser.rb:101:in
`parse''
from /usr/lib/ruby/gems/1.8/gems/icalendar-1.0.2/lib/icalendar/parser.rb:16:in
`parse''
from (irb):113>> cals[0]
NoMethodError: You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.[]
from (irb):114
Bones?
Craig