Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 20, 2012
Commits on Jun 1, 2012
  1. @laserlemon

    Stop clobbering ActiveModel's accessible_attributes method

    laserlemon authored
    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.
Commits on May 23, 2012
  1. @brianhempel

    Merge pull request #414 from md5/declare-belongs_to-type-key

    brianhempel authored
    Declare type key on polymorphic belongs_to
  2. @brianhempel
Commits on May 8, 2012
  1. @md5
Commits on May 7, 2012
  1. @dillonm-digisynd

    Declare type key on polymorphic belongs_to

    dillonm-digisynd authored
    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"
Commits on Apr 26, 2012
  1. @brianhempel
  2. @brianhempel
Commits on Apr 22, 2012
  1. @jnunemaker
  2. @jnunemaker

    Tweak readme.

    jnunemaker authored
Commits on Apr 16, 2012
  1. @jnunemaker
  2. @jnunemaker
  3. @jnunemaker

    Make sure same bson gem is used.

    jnunemaker authored
    Just in case.
  4. @jnunemaker
  5. @jnunemaker
Commits on Apr 7, 2012
  1. @bkeepers

    Update ChangeLog

    bkeepers authored
  2. @bkeepers

    Merge pull request #403 from eric1234/master

    bkeepers authored
    More intuitivate :required => true for Boolean types.
Commits on Apr 6, 2012
  1. @eric1234

    More intuitive support for making Boolean's required.

    eric1234 authored
    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]
Commits on Mar 30, 2012
  1. @bkeepers
  2. @bkeepers

    Release 0.11.1

    bkeepers authored
  3. @bkeepers

    Merge pull request #384 from RobertLowe/master

    bkeepers authored
    Fix: Uninitialized Class Variable @@database_name
  4. @bkeepers

    Merge pull request #387 from brianhempel/delegate_more_to_plucky

    bkeepers authored
    Delegate more methods to plucky [Fixes #379, #266]
  5. @bkeepers

    Merge pull request #390 from kpshek/master

    bkeepers authored
    Preserve millisecond values on times [Fixes #308]
  6. @bkeepers

    Merge pull request #395 from hamin/atomic_modifier_options

    bkeepers authored
    Added support for options for atomic modifiers plugin. This enables pass...
Commits on Mar 14, 2012
  1. @hamin
  2. @hamin

    Now properly inspecting for criteria, updates, and options hashes. If…

    hamin authored
    … any more options get added to the ruby driver, we won't have to do any additional logic to pass those options through
  3. @hamin
Commits on Mar 13, 2012
  1. @ersatzryan

    Fix Embedded Document touch

    ersatzryan authored
  2. @ersatzryan
  3. @laserlemon @ersatzryan

    Ensure that belongs_to associations provide an ObjectId key for the f…

    laserlemon authored ersatzryan committed
    …oreign key, so that IDs are properly cast.
Commits on Mar 4, 2012
  1. @hamin

    now passing a proper separate options argument for modifier operation…

    hamin authored
    …s instead of forcing it in the keys argument hash
Commits on Mar 3, 2012
  1. @hamin

    Added support for options for atomic modifiers plugin. This enables p…

    hamin authored
    …assing :upsert and :safe options to the modifier operation.
Commits on Mar 2, 2012
  1. @bryckbost
  2. @ersatzryan @bryckbost

    Ability to pass symbol to touch option of belongs_to association to u…

    ersatzryan authored bryckbost committed
    …pdate specific key
  3. @ersatzryan @bryckbost
Something went wrong with that request. Please try again.