…rphic keys in your model. They do not happen automatically behind the scenes. Fixes #57. I felt like too much was happening behind the scenes. It has caused some confusion for people starting out. Now, you have to declare the keys and the good part is then you know they are there (as they aren't hiding).
class Foo include MongoMapper::Document key :name timestamps! end This will add created_at and updated_at keys and a before save that will set them.
…er method if defined and if not uses = to create a dynamic key.
…nk things through more. Also refactored attributes to be more clear and simple instead of using returning.
… defined in document. Fixes #53.