Displaying 3 results from an estimated 3 matches for "iamwill".
Did you mean:
iamwil
2009 May 28
0
Re: ActiveResource as API test rig? Two jsons?
...t; require ''activesupport''
> require ''activeresource''
>
> class Channel < ActiveResource::Base
> self.site = "http://192.168.1.101/"
> self.format = :json
> end
>
> c = Channel.find(:all , :params => {:owner => "iamwill"})
>
> Result is:
> /var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/json/decoding.rb:14:in
> `decode'': Invalid JSON string (ActiveSupport::JSON::ParseError)
> from
> /var/lib/gems/1.8/gems/activeresource-2.3.2/lib/active_resource/formats/json_format...
2007 Jun 11
4
smtp timeout failures
Hi.
I''m using backgroundrb to, in part, wrap smtp transactions made through
actionmailer. The problem is that when smtp fails with a timeout error, the
worker simply stops at that point.
No exception is returned. I''ve tried wrapping this call in a begin...rescue
block but no exception seems to be making it back to the worker (other
methods are correctly passing exceptions to
2008 Mar 06
3
cache_sweeper
Hi,
Why is cache_sweeper not a documented method? I was pretty sure it
used to be, but I could be wrong. I can''t seem to find any
information on it anymore in the online docs.
As a side note, looking at the code for cache_sweeper it appears to
only work with the :only option, not :except (ignores it)... what''s
the reason for this?
Thanks,
Andrew