Skip to content
Commits on Apr 6, 2011
  1. @durran
  2. @durran
  3. @durran

    Bumping mongo driver dependency

    durran committed Apr 6, 2011
  4. @durran

    Need to perform conversions when reading from the attributes hash for…

    … times and datetimes
    durran committed Apr 6, 2011
Commits on Apr 1, 2011
  1. @durran
Commits on Mar 30, 2011
  1. @durran
  2. @durran

    Adding in specs that prove issue #622 is in fact not a bug given the …

    …original gist supplied.
    durran committed Mar 30, 2011
  3. @etehtsea
  4. Allow blank values in .where queries. Fixes #783.

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

    Bumping to 2.0.0

    durran committed Mar 29, 2011
  2. @KieranP

    Fixing code documentation for for_ids method

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

    Speeding up performance of many-to-many relations:

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

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

    …787
    
    Based on a patch from Colder Xihk (cncolder)
    KieranP committed Mar 28, 2011
  4. @KieranP
  5. @cgriego @KieranP
  6. @cgriego @KieranP

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

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

    Perf: Speeding up embedded many deletion:

    - 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.
    durran committed Mar 26, 2011
  2. @durran
  3. @durran
  4. @durran
  5. @durran
  6. @durran

    First refactoring of Model#read_attribute.

    - #read_attribute is causing performance issues on equality checks,
      which in turn is trickling down to other operations all over the
      framework.
    
    - 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.
    durran committed Mar 26, 2011
  7. @durran
Commits on Mar 25, 2011
  1. @dlt @KieranP

    Refactoring #remove_attribute

    dlt committed with KieranP Mar 15, 2011
  2. @dlt @KieranP

    Fixing typo

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

    Bumping to rc.8

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

    Paul Elliott committed Mar 20, 2011
  2. @sikachu

    Print out warning if user redefines a class method with scope

    This will make sure that no unintentional behavior will happen, such as redefining `public` method.
    
    The original implementation has been taken from https://github.com/rails/rails/blob/v3.0.5/activerecord/lib/active_record/named_scope.rb#L130-135
    sikachu committed with Paul Elliott Mar 10, 2011
Commits on Mar 15, 2011
  1. @shawn42

    added freeze; frozen? to document

    shawn42 committed with Paul Elliott Mar 7, 2011
  2. Making it possible for nested attributes for arrays of objects

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

    …rsisted
    
    things
    Visnu Pitiyanuvath committed Mar 14, 2011
  2. @cgriego
  3. @cgriego

    Add Observer support. Fixes #280

    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
    cgriego committed Mar 13, 2011
Commits on Mar 10, 2011
  1. @durran
Something went wrong with that request. Please try again.