Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 27, 2014
  1. Fix remove_validations_for for AS 4.1

    Christian Murphy authored
    This is a slightly reworked version of the @fcheung's pull
    request #584, using the same method across ActiveSupport
    versions.  I added a definition for `set_callbacks`, which is
    present in AS 4.1 but not in earlier versions.  This can be
    discarded once older versions of AS are no longer supported.
Commits on Oct 26, 2014
  1. @smtlaissezfaire
  2. @smtlaissezfaire

    Add counter caching.

    smtlaissezfaire authored
Commits on Sep 26, 2014
  1. @cheald
  2. @cheald
Commits on Aug 26, 2014
  1. @sgnn7
  2. @sgnn7

    Fixed be_false -> be_falsey deprecation warning in specs

    sgnn7 authored
      Used the follwoing command to do this:
      $ grep -R be_false spec/ | awk -F: '{print $1}' | uniq | xargs sed -i 's/be_false/be_falsey/g'
  3. @sgnn7
  4. @sgnn7

    Added ability to pull stats on a class

    sgnn7 authored
      Since going through the collection API is a bit awkward and the keys
      returned are camel-cased, this commit adds the ability to get these
      stats through ClassName.stats.snake_cased_field.
Commits on Jul 23, 2014
  1. @miyucy
Commits on Jun 24, 2014
  1. @cheald

    Merge pull request #579 from bsoule/not-found-error

    cheald authored
    fixes syntax error in rescue responses
  2. @bsoule

    fixes syntax error in rescue responses

    bsoule authored
    syntax error in rescue response declarations for rails < 3.2 was
    causing MongoMapper::DocumentNotFound exceptions to cause an exception
    in WebBrick's exception handling in development.
Commits on Jun 3, 2014
  1. @cheald

    Merge pull request #559 from mgroeneman/master

    cheald authored
    Proxy#send should work with blocks and procs
  2. @cheald

    Merge pull request #566 from DimaSamodurov/master

    cheald authored
    Support inheriting OneAssociation.
  3. @cheald

    Merge pull request #574 from smtlaissezfaire/write_attribute_returns_…

    cheald authored
    …typecasted_value
    
    write_attribute should return a type casted value
  4. @cheald

    Merge pull request #572 from leifcr/ruby_2_1_1

    cheald authored
    Fix autosupport loading issue (See rails issue 14664), and add test for ruby 2.1.1
Commits on May 23, 2014
  1. @smtlaissezfaire
Commits on May 8, 2014
  1. @leifcr
  2. @leifcr
Commits on May 1, 2014
  1. @cheald

    Release 0.13.0

    cheald authored
Commits on Apr 16, 2014
  1. @cheald

    Merge pull request #569 from fcheung/validator_setup_deprecated

    cheald authored
    validatior#setup is deprecated in activemodel 4.1
  2. @fcheung

    validatior#setup is deprecated in activemodel 4.1

    fcheung authored
    instead class is passed to initialize
Commits on Mar 16, 2014
  1. Support inheriting OneAssociation.

    Dima Samodurov authored
Commits on Mar 12, 2014
  1. @leifcr

    Update travis to test on 2.1.1

    leifcr authored
Commits on Feb 6, 2014
  1. @cheald

    More complete fix for the previous issue; remove the _type key when S…

    cheald authored
    …CI is turned off with set_collection_name. Add specs to cover it.
Commits on Feb 5, 2014
  1. @cheald
  2. @cheald

    Only add the _type key to inherited classes when they have the same c…

    cheald authored
    …ollection as their parent. Classes with a different collection name don't need the SCI keys. Ref: https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/mongomapper/2ZilWUrlGdw
Commits on Jan 7, 2014
  1. @cheald

    Merge pull request #563 from Oktavilla/key-serialization-mutates-docu…

    cheald authored
    …ment-state
    
    Key serialization mutates model state when using key Array with option typecast
  2. @joeljunstrom

    Do not mutate model values using key with typecast

    joeljunstrom authored
    When setting an array key with the typecast option, the array members is currently
    typecasted using `Array#map!`. Since `Key#set` can be called with a models ivar as
    argument this will mutate the outer state on the model.
    
    For example if we store an array with timestamps with another time zone
    than utc we will get discrepancies when accessing the models data before
    and after persisting it.
  3. @joeljunstrom
Commits on Dec 20, 2013
  1. @mgroeneman
Commits on Dec 15, 2013
  1. Added error message: can't mass assign protected attribute

    Thomas Dmytryk authored
Commits on Dec 12, 2013
  1. @cheald

    Rather than removing the @attributes nilling, which is needed for Act…

    cheald authored
    …iveModel compat, just return value
  2. @cheald

    Merge branch 'fix-send-writer' of git://github.com/tjwp-yesware/mongo…

    cheald authored
    …mapper into tjwp-yesware-fix-send-writer
    
    Fixes #557
  3. @cheald

    Test no longer breaks on JRuby

    cheald authored
Something went wrong with that request. Please try again.