* 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
* master: Added ruby-debug Fix middleware test on Ruby 1.9 Fix issue where belongs_to and one associations don't get reset if the value is nil Clone default values so they can't be modified cosmetics Fixed an issue using the association_name= method to assign a new object updated existing pointers to the proxy, rather than generating a new one Modified accessor method for one and belongs_to associations to return nil rather than a proxy object if the association does not exist Added additional method calls for build_<name>, create_<name>, and create<name>! since calling .build(), .create(), and .create!() would raise when the association is nil. Discussion from http://groups.google.com/group/mongomapper/browse_thread/thread/e311dd04b0af576f Conflicts: Gemfile Gemfile.lock lib/mongo_mapper/plugins/callbacks.rb
…Binary type to use BSON::Binary instead of BSON::ByteBuffer.