README.rdoc in vidibus-inheritance-0.3.10 vs README.rdoc in vidibus-inheritance-0.3.11
- old
+ new
@@ -56,9 +56,15 @@
mutated
created_at
updated_at
version
versions
+
+You may overwrite acquired attributes by defining a method on your inherited document and its embedded documents:
+
+ def acquired_attributes
+ Vidibus::Inheritance::Mongoid::ACQUIRED_ATTRIBUTES + %w[my custom values]
+ end
=== Manage mutations of embedded documents
All custom changes on inherited objects will be stored in #mutated_attributes. On embedded documents of inherited objects, however, mutations of attributes will not be tracked. But you may flag a document as mutated when applying custom values: