Permalink
Commits on Jun 1, 2011
  1. :dependent specifies behavior for parent destruction _and_ associatio…

    …n replacement for both one and many associations (default is nullify in both cases)
    brianhempel committed Jun 1, 2011
Commits on May 31, 2011
Commits on May 29, 2011
Commits on May 25, 2011
  1. 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
  2. Merge pull request #275 from Kelsin/sci-subclass-querying

    Adding support to query all subclasses when using sci
    bkeepers committed May 25, 2011
Commits on May 19, 2011
Commits on May 17, 2011
Commits on May 16, 2011
  1. Merge pull request #271 from bearded/key_with_name_value

    Allow using #value_changed? for key with name 'value'
    bkeepers committed May 16, 2011
Commits on May 15, 2011
Commits on May 14, 2011
  1. Add note about string IDs

    bkeepers committed May 11, 2011
  2. Merge pull request #273 from arthuraa/fix-case-equality

    Fix case equality
    bkeepers committed May 14, 2011
Commits on May 13, 2011
  1. Define case equality for documents.

    This should be redefined in classes and not proxies if we want it to
    behave correctly.
    arthuraa committed May 13, 2011
  2. Add tests for case equality.

    arthuraa committed May 13, 2011
Commits on May 11, 2011
  1. Merge pull request #272 from bearded/remove_human_name

    Removed implementation of method human_name
    bkeepers committed May 11, 2011
  2. Removed implementation of method human_name

    bearded committed May 11, 2011
  3. Refactor how the default :_id gets set.

    It now uses the :default option on #key. Note that using String IDs are no longer supported. If you are declaring your own ID, ensure it is an ObjectId, and set the default.
    
        key :_id, ObjectId, :default => lambda { BSON::ObjectId.new }
    bkeepers committed May 11, 2011
  4. avoid deprecation warning from ActiveModel::Errors#generate_message

    Jacob Maine & Travis Bell committed with bkeepers May 10, 2011
  5. add tests for validates_associated

    Jacob Maine & Travis Bell committed with bkeepers May 10, 2011
Commits on May 9, 2011
  1. Merge pull request #270 from Oktavilla/can-has-many-blocks

    Pass on block from has_many to many for rails (or AR I suppose) compability
    bkeepers committed May 9, 2011
Commits on May 6, 2011
Commits on Apr 26, 2011
  1. Remove duplicate methods defined by class_attribute

    class_attribute on edge-rails was raising an error, which was caused by us re-defining these methods that it defines
    bkeepers committed Apr 26, 2011
  2. Merge branch 'master' of https://github.com/cheald/mongomapper

    * 'master' of https://github.com/cheald/mongomapper:
      Don't reload belongs_to associations when assigning
    bkeepers committed Apr 26, 2011
Commits on Apr 24, 2011
  1. SystemTimer fixes a problem in Ruby 1.8. No longer req'd in 1.9 and r…

    …aises an error if you try to install.
    marclove committed Apr 24, 2011
  2. Merge branch 'fix_module_clash_with_boolean_definition' of http://git…

    …hub.com/cmeiklejohn/mongomapper
    
    * 'fix_module_clash_with_boolean_definition' of http://github.com/cmeiklejohn/mongomapper:
      Prevent against another gem defining Boolean first as a Module and not a Class preventing MongoMapper from loading.
    bkeepers committed Apr 24, 2011
Commits on Apr 23, 2011
  1. Prevent against another gem defining Boolean first as a Module and not a

    Class preventing MongoMapper from loading.
    cmeiklejohn committed Apr 23, 2011