search for: get_calendar

Displaying 1 result from an estimated 1 matches for "get_calendar".

Did you mean: evt_calendar
2006 Jan 07
1
AWS, SOAP, and Exceptions
...s 1.0/AWS 1.0? I''ve been digging through the source code and see that in soap_protocol.rb there is a method called encode_response() that seems to perform the translation of an Exception to a SOAPFault. However, if I use the following code block within my Web Service controller: def get_calendar(calId) begin return Calendar.find(calId) rescue Exception => e return e end end I see the following error, prior to the call to encode_reponse(): "Don''t know how to cast ActiveRecord::RecordNotFound to Calendar" c:/ruby/lib/ruby/gems/1.8/...