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

7 commits

Author SHA1 Message Date
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)