Permalink
Commits on Apr 10, 2011
Commits on Apr 9, 2011
Commits on Apr 6, 2011
  1. Bumping mongo driver dependency

    durran committed Apr 6, 2011
  2. Need to perform conversions when reading from the attributes hash for…

    … times and datetimes
    durran committed Apr 6, 2011
Commits on Apr 1, 2011
Commits on Mar 30, 2011
  1. Adding in specs that prove issue #622 is in fact not a bug given the …

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

    Visnu Pitiyanuvath committed Mar 30, 2011
Commits on Mar 29, 2011
  1. Bumping to 2.0.0

    durran committed Mar 29, 2011
  2. 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. 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. Paranoia mixin passes all arguments up to NamedScope.criteria. Fixes #…

    …787
    
    Based on a patch from Colder Xihk (cncolder)
    KieranP committed Mar 28, 2011
  3. Fix the method signature of .default_scope to not promise non-existan…

    …t default scope extension support.
    cgriego committed with KieranP Mar 15, 2011
Commits on Mar 26, 2011
  1. 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. 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
Commits on Mar 25, 2011
  1. Refactoring #remove_attribute

    dlt committed with KieranP Mar 15, 2011
  2. Fixing typo

    dlt committed with KieranP Mar 15, 2011
Commits on Mar 23, 2011
  1. 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 21, 2011
  2. 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. 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