Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 6, 2011
  1. @durran
  2. @durran
  3. @durran
  4. @durran
Commits on Apr 1, 2011
  1. @durran
Commits on Mar 30, 2011
  1. @durran
  2. @durran
  3. @etehtsea
  4. Allow blank values in .where queries. Fixes #783.

    Visnu Pitiyanuvath authored
Commits on Mar 29, 2011
  1. @durran

    Bumping to 2.0.0

    durran authored
  2. @KieranP

    Fixing code documentation for for_ids method

    KieranP authored
    Based on a patch from Jacques Crocker (railsjedi)
Commits on Mar 28, 2011
  1. @durran

    Speeding up performance of many-to-many relations:

    durran authored
    - It is now twice as fast as previous metrics, but still have some work
      to do since it's still quite slow.
  2. @durran
  3. @KieranP

    Paranoia mixin passes all arguments up to NamedScope.criteria. Fixes #…

    KieranP authored
    Based on a patch from Colder Xihk (cncolder)
  4. @KieranP
  5. @cgriego @KieranP
  6. @cgriego @KieranP

    Fix the method signature of .default_scope to not promise non-existan…

    cgriego authored KieranP committed
    …t default scope extension support.
Commits on Mar 26, 2011
  1. @durran

    Perf: Speeding up embedded many deletion:

    durran authored
    - Got rid of the double-delete/double-reindex when calling delete or
      destroy on the embedded document. Now we suppress the parent
      notification since the remove_all method is already handling the
      removal from the target and reindexing.
    - This in combination with the previous equality and read_attribute
      changes has resulted in over a 1000% increase in speed on this
      previously super-slow method.
  2. @durran
  3. @durran
  4. @durran
  5. @durran
  6. @durran

    First refactoring of Model#read_attribute.

    durran authored
    - #read_attribute is causing performance issues on equality checks,
      which in turn is trickling down to other operations all over the
    - The first issue was typecasting when reading an attribute. This should
      not ever need to be done since all attributes in the attributes hash
      should already be in their correct value.
    - This breaks the ability to define a field as a Mongoid::Document,
      which shouldn't need to be done anyways since you should be using
      Model.embeds_one for this. This functionality is now removed.
  7. @durran
Commits on Mar 25, 2011
  1. @dlt @KieranP

    Refactoring #remove_attribute

    dlt authored KieranP committed
  2. @dlt @KieranP

    Fixing typo

    dlt authored KieranP committed
Commits on Mar 23, 2011
  1. @durran

    Bumping to rc.8

    durran authored
Commits on Mar 21, 2011
  1. Use platform option for ruby-debug in Gemfile

    Paul Elliott authored
  2. @sikachu

    Print out warning if user redefines a class method with scope

    sikachu authored Paul Elliott committed
    This will make sure that no unintentional behavior will happen, such as redefining `public` method.
    The original implementation has been taken from
Commits on Mar 15, 2011
  1. @shawn42

    added freeze; frozen? to document

    shawn42 authored Paul Elliott committed
  2. Making it possible for nested attributes for arrays of objects

    Jonathan Hicks authored Paul Elliott committed
Commits on Mar 14, 2011
  1. want to check if target is there or not directly, to catch not yet pe…

    Visnu Pitiyanuvath authored
  2. @cgriego
  3. @cgriego

    Add Observer support. Fixes #280

    cgriego authored
    Mongoid::Observer is an almost exact copy of ActiveRecord::Observer
    * Hook into the fast callback system, like ActiveRecord
    * Mongoid:Observer fixes a bug with around hooks that exists in ActiveRecord
    * Complete with generator
    * Complete with specs
    Add ActiveModel::Observing methods to Mongoid::Config and Mongoid::Document
    * ActiveModel assumes the ORM uses a Base class, like ActiveRecord, it should be split:
    ** Observable (dealing with @observer_instances), for Mongoid::Document
    ** some sort of Observer manager (dealing with @observers), for Mongoid::Config
    * Add delegators to ::Mongoid
    * Railtie handle lifecycle, taken from ActiveRecord
Commits on Mar 10, 2011
  1. @durran
Something went wrong with that request. Please try again.