Permalink
Commits on Aug 28, 2009
  1. Version bump to 0.3.4

    jnunemaker committed Aug 28, 2009
  2. Updated history.

    jnunemaker committed Aug 28, 2009
  3. Whitespace stuff.

    jnunemaker committed Aug 28, 2009
  4. Indention.

    jnunemaker committed Aug 28, 2009
  5. refactored tests to be more clear

    Signed-off-by: David A. Cuadrado <krawek@gmail.com>
    dcu committed with jnunemaker Aug 23, 2009
  6. implemented has_many :as relationship

    Signed-off-by: David A. Cuadrado <krawek@gmail.com>
    dcu committed with jnunemaker Aug 15, 2009
  7. Updated history.

    jnunemaker committed Aug 28, 2009
Commits on Aug 16, 2009
  1. Updated history.

    jnunemaker committed Aug 16, 2009
  2. Removed all magic keys. You now have to declare belongs_to and polymo…

    …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).
    jnunemaker committed Aug 16, 2009
  3. Timestamps are now optional. To use them add timestamps! to your model.

      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.
    jnunemaker committed Aug 16, 2009
  4. Version bump to 0.3.3

    jnunemaker committed Aug 16, 2009
  5. Keys can now be added on the fly using []=. attributes= now uses writ…

    …er method if defined and if not uses []= to create a dynamic key.
    jnunemaker committed Aug 16, 2009
  6. Removed assign_attributes. Don't like the api for that. Trying to thi…

    …nk things through more. Also refactored attributes to be more clear and simple instead of using returning.
    jnunemaker committed Aug 16, 2009
  7. Adjusted the key tests a bit.

    jnunemaker committed Aug 16, 2009
  8. Added test for loading documents from the database that have keys not…

    … defined in document. Fixes #53.
    jnunemaker committed Aug 16, 2009
  9. Updated rakefile.

    jnunemaker committed Aug 16, 2009
  10. accessors can be overridden by included modules

    Austin Putman committed Aug 16, 2009
Commits on Aug 15, 2009
  1. missed some ordered tests

    Austin Putman committed Aug 15, 2009