Permalink
Commits on Mar 14, 2012
  1. Now properly inspecting for criteria, updates, and options hashes. If…

    hamin committed Mar 14, 2012
    … any more options get added to the ruby driver, we won't have to do any additional logic to pass those options through
Commits on Mar 13, 2012
  1. Ensure that belongs_to associations provide an ObjectId key for the f…

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

    hamin committed Mar 4, 2012
    …s instead of forcing it in the keys argument hash
Commits on Mar 3, 2012
  1. Added support for options for atomic modifiers plugin. This enables p…

    hamin committed Mar 3, 2012
    …assing :upsert and :safe options to the modifier operation.
Commits on Mar 2, 2012
  1. Ability to pass symbol to touch option of belongs_to association to u…

    ersatzryan authored and bryckbost committed Mar 2, 2012
    …pdate specific key
  2. Touch the proxy if it can.

    bryckbost committed Mar 1, 2012
Commits on Feb 15, 2012
  1. Merge pull request #391 from dgraham/fix_setup_with_symbols

    jnunemaker committed Feb 15, 2012
    Make MongoMapper.setup work with symbol environment parameter.
  2. Allow MongoMapper.setup to accept a symbol for the environment name s…

    dgraham committed Feb 15, 2012
    …o Sinatra's settings.environment value can be used.
Commits on Feb 13, 2012
Commits on Feb 12, 2012
  1. another fix in inspect

    kkamil committed Feb 12, 2012
  2. fix issue #373

    kkamil committed Feb 12, 2012
Commits on Feb 11, 2012
  1. Delegate :distinct, :size, :reverse, :offset, :order, :empty?, :filte…

    brianhempel committed Feb 11, 2012
    …r, :find_one, :per_page, :ignore, :only to the query.
    
    A few user problems are fixed by this. To honor unpersisted documents, the methods without arguments (:size and :empty?) need to hit the loaded association array in the ManyDocumentsProxy instead of going to the database...tests updated to reflect this.
Commits on Feb 9, 2012
  1. Properly initializes connection classes variables and doesn't raise w…

    RobertLowe committed Feb 9, 2012
    …hen using ternary (conditional) assignment for MongoMapper.database
Commits on Jan 26, 2012
  1. Release 0.11.0

    bkeepers committed Jan 26, 2012
Commits on Jan 18, 2012
  1. Currently, using save! is unusable in the case that you want to be ab…

    Michael Wasser
    Michael Wasser committed Jan 18, 2012
    …le programmatically handle specific validation errors. My proposed change also matches the way activerecord handles save! validation errors -- see docs for the equivalent class in active record here: http://api.rubyonrails.org/classes/ActiveRecord/RecordInvalid.html
Commits on Jan 11, 2012
  1. Merge pull request #377 from kevinrood/add_timestamps_to_embedded_doc…

    bkeepers committed Jan 11, 2012
    …ument
    
    Added timestamps! to EmbeddedDocument
Commits on Jan 10, 2012
Commits on Jan 7, 2012
  1. Merge branch 'master' of github.com:jnunemaker/mongomapper

    bkeepers committed Jan 7, 2012
    * 'master' of github.com:jnunemaker/mongomapper:
      rename `connection_options` to `options` and create a test
      use mongodb connection options from yaml config file
  2. Merge branch 'master' of git://github.com/matthiassiegel/mongomapper

    bkeepers committed Jan 7, 2012
    * 'master' of git://github.com/matthiassiegel/mongomapper:
      Make update_attribute behave like in ActiveRecord
    
    Conflicts:
    	lib/mongo_mapper/plugins/keys.rb
  3. Merge pull request #368 from balexand/config_mongo_connection

    bkeepers committed Jan 7, 2012
    Use MongoDB connection options from yaml config file
Commits on Jan 4, 2012
  1. Merge pull request #374 from laserlemon/master

    bkeepers committed Jan 4, 2012
    Stop relying on ActiveSupport::Concern's deprecated inclusion of the InstanceMethods module