Sep 15, 2011, 8:24:48 PM9/15/11
In my class, I want to include multiple modules. Each module can
define its own property to persist in couchDB.
Here is an example:
This doesn't work. I got this error: "undefined method `property'".
I tried added CouchRest::Model::Embeddable but it won't work for
module either. All the examples I am seeing are extending from
CouchRest::Model::Base. However, I won't be able to use this approach
because Ruby doesn't support multiple inheritance.
Any help would be appreciated. Thanks!