Error in using collection_of feature #117

jethar opened this Issue Sep 23, 2011 · 0 comments


None yet
1 participant

jethar commented Sep 23, 2011

I seem to have come up with an issue in using the collection_of , which I would like to confirm, whether that is the intended use.
The problem stems from calling the associated class function and then save not working after that.

say for the following case
class Invoice < CouchRest::Model::Base
collection_of :labels

If now I do something like -
invoice.title = "New Title"

The "New Title" will not get reflected in db in this case. Is this the intended implementation. Even the update_attributes function does not update the value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment