Permalink
Commits on Jul 17, 2012
Commits on Jul 9, 2012
  1. Slim down gemfile

    jnunemaker committed Jul 9, 2012
  2. Minor: formatting

    jnunemaker committed Jul 9, 2012
  3. 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
Commits on Mar 14, 2012
  1. Now properly inspecting for criteria, updates, and options hashes. If…

    … any more options get added to the ruby driver, we won't have to do any additional logic to pass those options through
    hamin committed Mar 14, 2012
Commits on Mar 13, 2012
  1. Fix Embedded Document touch

    ersatzryan committed Mar 13, 2012
  2. Ensure that belongs_to associations provide an ObjectId key for the f…

    …oreign key, so that IDs are properly cast.
    laserlemon committed with ersatzryan Feb 15, 2011
Commits on Mar 4, 2012
  1. now passing a proper separate options argument for modifier operation…

    …s instead of forcing it in the keys argument hash
    hamin committed Mar 4, 2012