1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

12 commits

Author SHA1 Message Date
geemus
7cbf1861aa [misc] to_json calls to use MultiJson 2011-07-20 11:08:11 -05:00
Claudio Poli
507127a0c5 Use multi_json gem 2011-07-16 04:51:03 +02:00
Claudio Poli
1d9f0af243 Make Rails' respond_with play nice with to_json. 2011-07-15 23:58:41 +02:00
Christopher Meiklejohn
49d8a92a63 Move timeout up to Fog from Fog::Mock. 2011-07-11 18:06:47 -04:00
Christopher Meiklejohn
74c4689691 Move the timeout to Mock and stop hardcoding. 2011-07-09 20:47:49 -04:00
Pieter van de Bruggen
331d58dabf Make Model#reload more resilient against errors.
Connection errors had the behavior of failing catastrophically, which had
some rather unpleasant implications for things like Model#wait_for, which
implicitly reload repeatedly without any protection.

This change may be better suited to special cases (e.g. Model#wait_for).
2011-04-14 15:41:47 -07:00
Pieter van de Bruggen
e71895f1a4 Fix small logic error in Model#wait_for. 2011-04-14 15:41:47 -07:00
geemus
ca3e2b2432 require json for to_json of collection/model 2011-02-15 11:27:31 -08:00
geemus
e28b05ac86 [core] allow eventual consistency in wait_for
closes #102
2010-12-16 12:05:15 -08:00
geemus
f9eafff835 make collection into an accessor, fixes respond_to in attributes and should be more performant 2010-10-28 11:33:10 -07:00
geemus
7f38159f7b model #reload should require identity 2010-10-27 16:09:00 -07:00
geemus
dfd30e521f cleanup lib/fog by segregating shared into 'core' 2010-09-29 13:22:30 -07:00
Renamed from lib/fog/model.rb (Browse further)