Permalink
Commits on Feb 13, 2013
  1. Back to normal

    durran committed Feb 13, 2013
  2. Use version as rc

    durran committed Feb 13, 2013
  3. Bump Moped dependency to 1.4.2

    durran committed Feb 13, 2013
Commits on Feb 12, 2013
  1. Atomic positionable $ replace

    arthurnn committed Feb 12, 2013
    Uses the selector key, in the regex, to replace the digit to $ operator,
    So even when we send another keys on the selector, it will still replace
    only the ones that match on the operation
  2. Fix read_attribute_for_validation on methods.

    durran committed Feb 12, 2013
    [ fix #2816 ]
  3. Unpending specs

    durran committed Feb 12, 2013
  4. Fix lazy evaluation and criteria w/ n-n.

    durran committed Feb 12, 2013
    If a base document was destroyed, and hence frozen, and we asked for a
    count on it's many to many relation, the foreign key would be nil
    instead of [] if the default had not been lazy evaluated. We now check
    for nil and set to [] on the criteria only.
    
    [ fix #2812 ]
  5. Fix specs, update changelog

    durran committed Feb 12, 2013
  6. Adding specs for [ #1850 ]

    arthurnn committed with durran Feb 11, 2013
  7. Bindings for primary_key option

    arthurnn committed with durran Feb 11, 2013
    Changing bindings on referenced relations to use a primary_key if given
    [ #1850 ]
  8. 1850 first

    durran committed Aug 5, 2012
  9. Update changelog

    durran committed Feb 9, 2013
  10. add attribute_before_type_cast

    gerad committed with durran Oct 11, 2012
    Among other things, this fixes numericality validation. If this looks good, and
    it's deemed necessary, I'm happy to add a configuration option which disables
    the functionality for people with memory overhead concerns.
    
    See #2137, #2237, #2436, #2429, #2450.
  11. Fix positional operator for 1-1 nesting 1-n.

    durran committed Feb 12, 2013
    In the case where we have an embeds_many embedded under an embeds_one,
    we need to take into account the first path point that has no index in
    it.
    
    [ fix #2811 ]
Commits on Feb 9, 2013
  1. Remove move_changes call from touch

    arthurnn committed Feb 9, 2013
    Removing move_changes from touch method, so next callbacks dont lose
    them. [ fixes #2800 ]
  2. Adding in $geoNear support.

    durran committed Feb 9, 2013
      Bar.where(:likes.gt => 1000).geo_near([ 52, 13 ])
      Bar.geo_near([ 52, 13 ]).max_distance(0.5).spherical
    
    [ close #2804 ]
Commits on Feb 8, 2013
  1. begin became begin_execution.

    durran committed Feb 8, 2013
  2. Don't cascade on delete when assigning.

    durran committed Feb 8, 2013
    [ fix #2796 ]
  3. Copy localize fields on model.becomes

    arthurnn committed with durran Feb 8, 2013
    Localize fields were not getting copied properly when using
    .becomes method. Related to #2772 #2790
  4. Dont call touch on parent, unless touch: true

    arthurnn committed with durran Feb 8, 2013
    .touch method was being called on the parent even if the belongs_to relation
    was not set to touch: true.
    Related to [ #2800 ]
  5. Update changelog

    durran committed Feb 8, 2013
Commits on Feb 7, 2013
  1. Update changelog

    durran committed Feb 7, 2013
  2. Fix broken milliseconds precision

    tombruijn committed with durran Feb 7, 2013
    The return of issue #2741
  3. Becomes uses without_protection on copy.

    durran committed Feb 7, 2013
    [ fix #2790 ]
  4. Ensure becomes replaces instances in the identity map.

    durran committed Feb 7, 2013
    [ fix #2787 ]
  5. Don't autobuild on reading for validation.

    durran committed Feb 7, 2013
    [ fix #2794 ]
Commits on Feb 6, 2013
  1. Memoize atomic path

    durran committed Feb 6, 2013
  2. Update changelog

    durran committed Feb 6, 2013