basic_model icon indicating copy to clipboard operation
basic_model copied to clipboard

Validation, @attributes[...] vs self[...]

Open uhgall opened this issue 16 years ago • 0 comments

BasicModel stores the data in @attributes, which is just a hashtable. That makes it impossible to use the validation features in CouchRest, doesn't it?

Why not make BasicModel a subclass of ExtendedDocument and store the data in self[]?

uhgall avatar May 14 '09 13:05 uhgall