Commit Graph

35 Commits

Author SHA1 Message Date
geemus 1e3a676178 model went away should be a fog error 2010-09-16 15:41:19 -07:00
geemus 5f37f6be26 add an interval parameter to wait_for 2010-07-21 19:18:34 -07:00
geemus b9fb24963c namespace attributes logic 2010-06-07 18:22:31 -07:00
geemus b03c2d811c share the attributes logic between collectio and model 2010-06-07 08:59:17 -07:00
geemus 45cc1e5099 raise error in Model#reload if the thing goes away 2010-05-07 09:51:58 -07:00
geemus c70fb49dac reload should return nil if the object no longer exists 2010-05-06 16:41:02 -07:00
geemus 01c2a29a49 add identity setter and fix more deprecated directory calls 2010-05-03 16:48:46 -07:00
geemus 2d08f1da84 consolidate wait_for usage and add more useful return values 2010-05-01 15:08:44 -07:00
Edward Muller 4ca08fea11 move the instance_eval(&block) to the bottom, so state gets refreshed at least once ... stale state == bad 2010-05-02 04:35:25 +08:00
geemus e4aa6bd244 reload on a new_record? just returns self 2010-04-27 16:34:04 -07:00
geemus (Wesley Beary) 1761fc53f8 allow passing a request into bin/fog to return json 2010-03-27 18:06:32 -07:00
geemus (Wesley Beary) 3a394f61e3 more cleanup around interactive formatting 2010-02-15 20:18:52 -08:00
geemus (Wesley Beary) a264f29edf nicer format for inspecting models in bin/fog 2010-02-14 14:34:33 -08:00
Wesley Beary e11a1eba13 first pass at a wait_for helper on model 2009-12-07 22:23:55 -08:00
Wesley Beary e1fdfa8144 better attribute names, fixes for model specs 2009-12-05 14:53:42 -08:00
Wesley Beary 66c0bd3e51 alpha sorting methods 2009-11-30 17:01:42 -08:00
Wesley Beary 7636b845b6 nicer error messages for missing required params on models 2009-11-21 13:56:39 -08:00
Wesley Beary 9e87d99a17 working _dump/_load, make connection/connection= public 2009-11-21 13:46:46 -08:00
Wesley Beary 50a126335f prevent adding property to collection/model multiple times 2009-11-11 23:18:17 -08:00
Wesley Beary e75a7fba57 add ability to detach/dissasociate and add new_record? method 2009-11-11 22:22:13 -08:00
Wesley Beary 09fb45b7ba DRY through more collection abstraction 2009-10-29 23:35:28 -07:00
Wesley Beary 5affe817f9 make more abstract reference to object identity, move reload to base class 2009-10-23 10:27:23 -07:00
Wesley Beary e3e826ad69 moving s3 models to more abstract collection reference 2009-10-23 09:42:51 -07:00
Wesley Beary ea6655838a just send strings rather than casting to symbol 2009-09-14 21:37:36 -07:00
Wesley Beary 0a80fbf01c more fleshing out of the models, getting close to feature complete for s3 2009-09-01 21:41:52 -07:00
Wesley Beary 1b14059d95 fixes/specs for s3 buckets and bucket models 2009-08-31 22:40:07 -07:00
Wesley Beary 37f7339df8 cleanup attribute definition/usage in collections/models 2009-08-30 14:43:01 -07:00
Wesley Beary 19f3408ec7 more fleshing out s3 models 2009-08-30 14:14:11 -07:00
Wesley Beary 1f41499e64 fixes around collections 2009-08-17 18:34:44 -07:00
Wesley Beary ff2f32d342 fix error in remap_attributes 2009-08-17 18:07:46 -07:00
Wesley Beary b7dd4eae7d another pass at cleaning/normalizing models 2009-08-05 22:55:09 -07:00
Wesley Beary 72c9e6e888 first pass at stubbing out the rest of s3 object api 2009-08-04 20:09:08 -07:00
Wesley Beary 2ef7546567 new_record stuff to track if something has been persisted to aws 2009-08-04 19:44:04 -07:00
Wesley Beary e298e8d788 cleanup/consistency for s3 models 2009-08-04 10:51:54 -07:00
Wesley Beary 5a8947f296 first pass at a nice abstraction 2009-08-02 16:37:54 -07:00