Permalink
Commits on Sep 3, 2011
  1. @bkeepers
  2. @bkeepers
  3. @bkeepers
  4. @brianhempel @bkeepers

    Since nil attributes aren't stored in the database, existing keys nee…

    …d to be nullified on reload
    brianhempel committed with bkeepers Aug 19, 2011
  5. @brianhempel @bkeepers
Commits on Sep 2, 2011
  1. @bkeepers

    Merge branch '0.9'

    * 0.9: (27 commits)
      Update variable name to reflect intention
      Fix Gemfile
      Remove .project file
      Fix for methods being included twice in to_xml
      Add test to expose serializer bug
      Default to empty hash if there is no config for the environment
      Fix test for userstamps plugin
      Test case for proper use of ActiveModel::Naming
      changed inspect so that only non-nil keys are shown by default - related to issue 194
      Uncomment and fix embedded doc expectations for nil values
      Fix attributes on Ruby 1.8
      Added tests and fixed some existing ones.
      Fix Issue 194.
      Fixing key fetch so it returns a string only, rather than a Class if :class key is present in the options hash.
      Removing logger requirement.
      Changing syntax for alternate User class to be more familiar for MM users. Now accepts an options hash with :class_name OR :class keys. If the neither key is present, it will default to the standard User class.
      Added to Userstamps plugin a way to use a unconventionally named User class (e.g., SpecialUser).
      Write a better test, making sure ReplSetConnection is passed options hash
      Added support for a Replica Set
      Add test for replica set connections from config that specifies multiple hosts
      ...
    
    Conflicts:
    	.gitignore
    	Gemfile
    	lib/mongo_mapper/plugins/inspect.rb
    bkeepers committed Sep 2, 2011
  2. @bkeepers
  3. @bkeepers

    Fix Gemfile

    bkeepers committed Sep 2, 2011
  4. @bkeepers

    Remove .project file

    bkeepers committed Sep 2, 2011
  5. @bkeepers
  6. @bmarini @bkeepers
  7. @bkeepers
  8. @bkeepers

    Fix test for userstamps plugin

    bkeepers committed Jul 30, 2011
  9. @bkeepers
  10. @jmchambers @bkeepers
  11. @bkeepers
  12. @bkeepers

    Fix attributes on Ruby 1.8

    Array#each_pair is not defined
    bkeepers committed Jul 2, 2011
  13. @amangale @bkeepers
  14. @amangale @bkeepers

    Fix Issue 194.

    amangale committed with bkeepers Jun 27, 2011
  15. @bkeepers

    Fixing key fetch so it returns a string only, rather than a Class if …

    …:class key is present in the options hash.
    Mark Coates (oddlyzen) committed with bkeepers Jun 20, 2011
  16. @bkeepers

    Removing logger requirement.

    Mark Coates (oddlyzen) committed with bkeepers Jun 20, 2011
  17. @bkeepers

    Changing syntax for alternate User class to be more familiar for MM u…

    …sers. Now accepts an options hash with :class_name OR :class keys. If the neither key is present, it will default to the standard User class.
    Mark Coates (oddlyzen) committed with bkeepers Jun 20, 2011
  18. @bkeepers

    Added to Userstamps plugin a way to use a unconventionally named User…

    … class (e.g., SpecialUser).
    Mark Coates (oddlyzen) committed with bkeepers Jun 17, 2011
  19. @bmarini @bkeepers
  20. @bkimble @bkeepers

    Added support for a Replica Set

    bkimble committed with bkeepers May 9, 2011
  21. @bmarini @bkeepers
  22. @brianhempel @bkeepers
  23. @gaffneyc @bkeepers
  24. @gaffneyc @bkeepers
  25. @gaffneyc @bkeepers
  26. @bkeepers

    Fix :on option for validation callbacks

    ActiveModel::Validations::Callbacks already defines the before_validation and after_validation methods, which add support for the :on option. Closes #277
    bkeepers committed May 25, 2011
  27. @kelsin @bkeepers
  28. @bkeepers
  29. @bkeepers

    Merge branch '0.9'

    * 0.9:
      ActiveModel::Name must be used via extend, not include
      Bump version to 0.9.1
      Add deprecation warning for custom IDs
      Remove deprecated gemspec method.
      Use dynamic classes in the equality tests
      Define case equality for documents.
      Add tests for case equality.
      Added test: _changed? should not raise when key name is 'value'
      Removed implementation of method human_name
      Allow using #value_changed? for key with name 'value'
    
    Conflicts:
    	Gemfile.lock
    	lib/mongo_mapper/plugins/keys.rb
    	test/functional/test_string_id_compatibility.rb
    	test/unit/test_keys.rb
    bkeepers committed Sep 2, 2011
  30. @bkeepers