Permalink
Commits on Sep 21, 2012
  1. A few modifier test tweaks.

    jnunemaker committed Sep 21, 2012
  2. Merge pull request #453 from leifcr/test_generator_fix

    jnunemaker committed Sep 21, 2012
    Fixes tests for generators
  3. Fixes tests for generators

    leifcr committed Sep 21, 2012
  4. Moving generator tests around.

    jnunemaker committed Sep 21, 2012
    Trying to get travis to pass.
  5. Optimization: use key?

    jnunemaker committed Sep 21, 2012
    keys.keys creates an uneeded array.
  6. Merge branch 'safe_accepts_hash' of https://github.com/balexand/mongo…

    jnunemaker committed Sep 21, 2012
    …mapper into balexand-safe_accepts_hash
  7. Merge branch 'generator-parent-option' of https://github.com/bearded/…

    jnunemaker committed Sep 21, 2012
    …mongomapper into bearded-generator-parent-option
  8. Fixes for ruby 1.8.

    jnunemaker committed Sep 21, 2012
  9. Merge branch 'bug/issue-421' of https://github.com/andrewtimberlake/m…

    jnunemaker committed Sep 21, 2012
    …ongomapper into andrewtimberlake-bug/issue-421
  10. Inherit connection and database name.

    jnunemaker committed Sep 21, 2012
    Subclasses were not getting these before. Only collection name was
    inherited.
    
    Fixes #420 and #424
  11. Rewrite part of the default key stuff

    jnunemaker committed Sep 21, 2012
    * has_default changed to default?
    * default_attributes removed in favor of a select/each with defaulted
    keys
  12. Merge branch 'feature/initialize_defaults' of https://github.com/wpet…

    jnunemaker committed Sep 21, 2012
    …erson/mongomapper into wpeterson-feature/initialize_defaults
  13. Only pass ssl key if present

    jnunemaker committed Sep 21, 2012
  14. Minor: formatting

    jnunemaker committed Sep 21, 2012
  15. Merge pull request #451 from wpeterson/bug/travis_build

    jnunemaker committed Sep 21, 2012
    Fix Travis MongoMapper build
Commits on Sep 20, 2012
  1. Declare TravisCI mongo service dependency.

    Winfield Peterson committed Sep 19, 2012
    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. Declare TravisCI mongo service dependency.

    Winfield Peterson committed Sep 19, 2012
    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. Add automatic id generation when not set.

    Winfield Peterson committed Sep 17, 2012
    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. Initialize default values for all cases

    Winfield Peterson committed Sep 17, 2012
    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. Only set defaults values on initialize()

    Winfield Peterson committed Sep 14, 2012
    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. Release 0.12.0

    jnunemaker committed Sep 12, 2012
  2. Force 0.5.2 of plucky.

    jnunemaker committed Sep 12, 2012
    Fixes count query loading all documents when using the identity map.
  3. Remove growl crap

    jnunemaker committed Sep 12, 2012
Commits on Sep 7, 2012
  1. Merge pull request #447 from darragh/fix_identity_map_with_fields_and…

    jnunemaker committed Sep 7, 2012
    …_each
    
    partial records incorrectly added to IdentityMap when using Plucky::Query#each
  2. test/fix for records with partial set of fields being added to identi…

    darragh committed Sep 7, 2012
    …ty map when using .each on Plucky::Query