Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 2, 2012
  1. @gaffneyc

    Provide a fix for many associations not yielding to each in callbacks.

    gaffneyc authored
    Ran into an issue when iterating over a many association in a
    before_save callback on a document. For an association named foos,
    `foos.inspect` would show the items but `foos.each` would never yield to
    the given block since it appears to be empty.
    
    The original issue I was tracking down was that instead of not yielding
    it was yielding instances of Mongo::Cursor instead of the association
    object. I haven't been able to recreate that case.
Commits on Oct 1, 2012
  1. @gaffneyc

    Support non-ObjectID ids being given to modifiers.

    gaffneyc authored
    The partially broken by cf82ec6 where it allowed a single ID to be
    passed and it would work as expected. This also adds support for
    multiple IDs to be provided.
Commits on Sep 28, 2012
  1. @cheald
  2. @cheald
Commits on Sep 21, 2012
  1. @jnunemaker
  2. @jnunemaker
  3. @jnunemaker

    A few modifier test tweaks.

    jnunemaker authored
  4. @jnunemaker
  5. @jnunemaker

    Merge pull request #453 from leifcr/test_generator_fix

    jnunemaker authored
    Fixes tests for generators
  6. @leifcr

    Fixes tests for generators

    leifcr authored
  7. @jnunemaker

    Moving generator tests around.

    jnunemaker authored
    Trying to get travis to pass.
  8. @jnunemaker
  9. @jnunemaker
  10. @jnunemaker

    Optimization: use key?

    jnunemaker authored
    keys.keys creates an uneeded array.
  11. @jnunemaker
  12. @jnunemaker
  13. @jnunemaker
  14. @jnunemaker

    Fixes for ruby 1.8.

    jnunemaker authored
  15. @jnunemaker
  16. @jnunemaker

    Inherit connection and database name.

    jnunemaker authored
    Subclasses were not getting these before. Only collection name was
    inherited.
    
    Fixes #420 and #424
  17. @jnunemaker

    Rewrite part of the default key stuff

    jnunemaker authored
    * has_default changed to default?
    * default_attributes removed in favor of a select/each with defaulted
    keys
  18. @jnunemaker

    Merge branch 'feature/initialize_defaults' of https://github.com/wpet…

    jnunemaker authored
    …erson/mongomapper into wpeterson-feature/initialize_defaults
  19. @jnunemaker
  20. @jnunemaker

    Minor: formatting

    jnunemaker authored
  21. @aledalgrande @jnunemaker

    test case for active SSL config

    aledalgrande authored jnunemaker committed
  22. @aledalgrande @jnunemaker

    fixed tests broken by the SSL change

    aledalgrande authored jnunemaker committed
  23. @danielbecker @jnunemaker

    Added SSL connection support

    danielbecker authored jnunemaker committed
  24. @jnunemaker

    Merge pull request #451 from wpeterson/bug/travis_build

    jnunemaker authored
    Fix Travis MongoMapper build
Commits on Sep 20, 2012
  1. @wpeterson

    Declare TravisCI mongo service dependency.

    wpeterson authored
    Attempt to fix Travis build by enabling the mongo service.
    
    This service was disabled by default and now requires an explicit service config.
Commits on Sep 19, 2012
  1. @wpeterson

    Declare TravisCI mongo service dependency.

    wpeterson authored
    Attempt to fix Travis build by enabling the mongo service.
    
    This service was disabled by default and now requires an explicit service config.
Commits on Sep 17, 2012
  1. @wpeterson

    Add automatic id generation when not set.

    wpeterson authored
    There are several cases (like clone()) where we want to generate a new id for a Document without initializing all other default values.
    
    Allow the get() accessor for _id key to automatically generate the id if one is not defined.
  2. @wpeterson

    Initialize default values for all cases

    wpeterson authored
    Ensure we setup default attribute values for initialize() and initialize_from_database().
    
    This fixes issues with id generation and other default values being set for embedded docs/associations.
Commits on Sep 14, 2012
  1. @wpeterson

    Only set defaults values on initialize()

    wpeterson authored
    Use write_key to bypass attr_accessible protection for default values.
    
    Add support for default _id values to id accessor.
Commits on Sep 12, 2012
  1. @jnunemaker

    Release 0.12.0

    jnunemaker authored
  2. @jnunemaker

    Force 0.5.2 of plucky.

    jnunemaker authored
    Fixes count query loading all documents when using the identity map.
Something went wrong with that request. Please try again.