Permalink
Commits on Jan 20, 2013
  1. Bump to 3.0.18

    durran committed Jan 20, 2013
  2. fixes alias for atomic operations in the context [ #2673 ]

    arthurnn committed with durran Jan 9, 2013
    Fixed contextual/atomic.rb to use database_field_name to resolve alias
  3. Update changelog

    durran committed Jan 20, 2013
  4. Fix for correcting "changed" after reset [ #2676 ]

    Subhash Bhushan committed with durran Jan 13, 2013
  5. Fix find_or_(create|initialize)_by on scoped relations.

    durran committed Jan 19, 2013
    [ fix #2707 ]
  6. No find callbacks on 3.0.0-stable

    durran committed Jan 20, 2013
  7. Return 0 instead of nil on sum with no matches.

    durran committed Jan 13, 2013
    [ fix #2678 ]
  8. Only validate changed associated documents. (regression)

    durran committed Jan 20, 2013
    [ fix #2703 ]
Commits on Jan 11, 2013
  1. Update changelog

    durran committed Jan 11, 2013
Commits on Dec 30, 2012
  1. Bump version

    durran committed Dec 30, 2012
Commits on Dec 29, 2012
  1. Add instance level model_name on documents.

    durran committed Dec 29, 2012
    [ fix #2661 ]
  2. Fix eager loading after calling first or last.

    durran committed Dec 29, 2012
    Instead of clearing the inclusions when the criteria has been eager
    loaded, we now keep them and track documents that have had their
    relations eager loaded individually. This allows multiple first/last
    calls not to trigger subsequent db calls, and for iterating over a
    criteria's full result set after calling first/last to eager load the
    results properly.
    
    [ fix #2638 ]
  3. Ensure no extra queries executed on 1-1 build.

    durran committed Dec 29, 2012
    If we have a new parent and a new child, there is no reason to ever
    attempt to query the db.
    
    [ fix #2639 ]
Commits on Dec 27, 2012
  1. Refactor and update changelog

    durran committed Dec 27, 2012
  2. [ #2645 ] - adding cache for count method and changing local methods …

    arthurnn committed with durran Dec 27, 2012
    …to use the local count
Commits on Dec 26, 2012
  1. Yield in enumerable target post memory set.

    durran committed Dec 26, 2012
    This ensures that methods on enumerable that short circuit, like #detect
    can be executed again and get the same object in memory.
    
    [ fix #2646 ]
  2. Fix typo [ #2618 ]

    durran committed Dec 26, 2012
  3. Update autosave documentation to reflect behaviour.

    durran committed Dec 26, 2012
    [ fix #2616 ]
  4. Criteria#type now works with string and symbols.

    durran committed Dec 26, 2012
    [ fix #2651 ]
  5. Validating uniqueness uses strong consistency.

    durran committed Dec 26, 2012
    [ fix #2618 ]
Commits on Dec 25, 2012
  1. Ensure deleted? and destroyed? return same value.

    durran committed Dec 25, 2012
    This fix is specifically for paranoid documents.
    
    [ fix #2647 ]
  2. Fix getter override infinite recursion.

    durran committed Dec 25, 2012
    This pulls out the getter functionality into its own private method so
    users can potentially override the getter with a call to the setter in
    it.
    
    [ fix #2564 ]
  3. Fixing the documents returned by embedded unscoped

    durran committed Dec 25, 2012
    This now properly filters out documents that were marked for
    destruction.
    
    [ fix #2554 ]
  4. Update changelog

    durran committed Dec 25, 2012
Commits on Dec 24, 2012
Commits on Dec 17, 2012
  1. Bump to 3.0.15

    durran committed Dec 17, 2012
Commits on Dec 16, 2012
  1. inherited attrs permit status

    xxswingxx committed with durran Dec 3, 2012