Matt Aimonetti
2596df1a3d
added cascading validations for extended documents using casted models. Most code comes from nrstott's contribution
2009-05-13 22:50:29 -07:00
Matt Aimonetti
92b77a9649
fixed bulk_load/get_bulk and the specs
2009-05-13 20:44:57 -07:00
Nathan
0c0b6ecff2
added spec to show problem with validation of array of casted models
2009-05-13 20:29:44 -07:00
YAMAMOTO Yohei
6fca60ebe4
fixed a bug with CastedModel constructer calling Hash#initialize(ifnone)
...
Signed-off-by: Matt Aimonetti <mattaimonetti@gmail.com>
2009-04-28 11:32:59 +08:00
Matt
2aeb90721e
corrected some spec dependencies
2009-03-08 14:27:30 +00:00
Matt Aimonetti
c4cce18389
added database.bulk_delete as an alias for #bulk_save, added support for Model.by_view_name in ExtendedDoc and bumped the version to 0.13.3
2009-02-17 00:36:11 -08:00
Matt Aimonetti
3a57ed1414
fixed a bug with the RestClient optimization, added more callbacks on the ExtendedDocument and added support for casted arrays of objects.
2009-02-12 20:28:07 -08:00
Matt Aimonetti
c0abafd1e0
fixed a major bug with inheritance and the class database setup. (plus some validation bugs)
2009-02-10 16:10:35 -08:00
Matt Aimonetti
e448112ff6
fixed some serious issues but left some for tomorrow (validations aren't working right)
2009-02-10 02:15:39 -08:00
Matt Aimonetti
621f5565e9
Started working on casted models, basic functionalities are now in.
...
property :casted_attribute, :cast_as => 'WithCastedModelMixin'
A casted attribute now knows about its parent. (#casted_by to retrieve the parent's object)
2009-02-09 11:20:23 -08:00