Permalink
Commits on Aug 29, 2009
  1. Version bump to 0.3.5

    jnunemaker committed Aug 29, 2009
  2. Updated history

    jnunemaker committed Aug 29, 2009
  3. Minor: Order by something more predictable than $natural in test for …

    jnunemaker committed Aug 29, 2009
    …many documents as proxy.
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

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

    dcu committed with jnunemaker Aug 15, 2009
    Signed-off-by: David A. Cuadrado <krawek@gmail.com>
  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…

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

    jnunemaker committed Aug 16, 2009
      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.
  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…

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

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

    jnunemaker committed Aug 16, 2009