Permalink
Commits on Jul 9, 2012
  1. Update identity map middleware.

    Works with newer rack api of each and close.
    
    Also, enables identity map for request and then disables, rather than
    just always having it on.
    jnunemaker committed Jul 9, 2012
  2. Rewrite identity map.

    More rails and toystore style.
    jnunemaker committed Jul 9, 2012
  3. Added a few details to SCI.

    Allows getting the sci parent and root. Needed for scoped identity map
    that is shared for sci models.
    jnunemaker committed Jul 9, 2012
  4. Slim down gemfile

    jnunemaker committed Jul 9, 2012
  5. Minor: formatting

    jnunemaker committed Jul 9, 2012
  6. Kill .project file.

    jnunemaker committed Jul 9, 2012
Commits on Jun 1, 2012
  1. Stop clobbering ActiveModel's accessible_attributes method

    This works around an incompatibility with Rails 3.2.4+ in which accessible attributes are role-specific (see the ParamsWrapper metal) and need to accept a role argument.
    
    This fix doesn't go all the way down the road of respecting role-specific accessible attributes but silently ignores the passed-in role.
    laserlemon committed Jun 1, 2012
Commits on May 23, 2012
  1. Merge pull request #414 from md5/declare-belongs_to-type-key

    Declare type key on polymorphic belongs_to
    brianhempel committed May 23, 2012
Commits on May 8, 2012
Commits on May 7, 2012
  1. Declare type key on polymorphic belongs_to

    When a belongs_to association is marked as :polymorphic => true, a model
    key of type String for the "type_key_name" field in addition to the key
    of type ObjectId for "foreign_key"
    Mike Dillon committed May 7, 2012
Commits on Apr 26, 2012
Commits on Apr 22, 2012
  1. Tweak readme.

    jnunemaker committed Apr 22, 2012
Commits on Apr 16, 2012
  1. Merge branch 'patch-1' of https://github.com/untoldone/mongomapper in…

    …to untoldone-patch-1
    jnunemaker committed Apr 16, 2012
  2. Make sure same bson gem is used.

    Just in case.
    jnunemaker committed Apr 16, 2012
  3. Added initial travis config.

    jnunemaker committed Apr 16, 2012
  4. Prep gemfile to for travis ci

    jnunemaker committed Apr 16, 2012
Commits on Apr 7, 2012
  1. Update ChangeLog

    bkeepers committed Apr 7, 2012
  2. Merge pull request #403 from eric1234/master

    More intuitivate :required => true for Boolean types.
    bkeepers committed Apr 7, 2012
Commits on Apr 6, 2012
  1. More intuitive support for making Boolean's required.

    validates_presence_of :field doesn't work for a Boolean field because false
    is considered blank. Instead you have to use
    validates_inclusions_of :field, :in => [true, false]. This is a known annoyance
    of AR. We can make this better in MongoMapper by having the :required shortcut
    do the right thing. So if you do:
    
        key :field, String, :required => true
    
    Then it does a validates_presence_of :field. But if you do:
    
        key :flag, Boolean, :required => true
    
    It does a validates_inclusion_of :field, :in => [true, false]
    eric1234 committed Apr 6, 2012
Commits on Mar 30, 2012
  1. Add compare link to change log

    bkeepers committed Mar 30, 2012
  2. Release 0.11.1

    bkeepers committed Mar 30, 2012
  3. Merge pull request #384 from RobertLowe/master

    Fix: Uninitialized Class Variable @@database_name
    bkeepers committed Mar 30, 2012
  4. Merge pull request #387 from brianhempel/delegate_more_to_plucky

    Delegate more methods to plucky [Fixes #379, #266]
    bkeepers committed Mar 30, 2012
  5. Merge pull request #390 from kpshek/master

    Preserve millisecond values on times [Fixes #308]
    bkeepers committed Mar 30, 2012
  6. Merge pull request #395 from hamin/atomic_modifier_options

    Added support for options for atomic modifiers plugin. This enables pass...
    bkeepers committed Mar 30, 2012