Skip to content
This repository
tag: 2.0.0.beta10

Jul 23, 2010

  1. Durran Jordan

    Bumping version to beta 10

    authored July 23, 2010
  2. Jacques Crocker

    DRY up boolean check logic (thanks Hakan!)

    authored July 23, 2010
  3. Add conversions to enable field :type => Symbol

    authored July 21, 2010 bernerdschaefer committed July 22, 2010

Jul 22, 2010

  1. Jacques Crocker

    Track descendent Mongoid::Documents via descendents module method.

    Removes use of ObjectSpace from `rake db:create_indexes`
    authored July 22, 2010
  2. Bernerd Schaefer

    Document#remove resets attribute to correct value

    [resolves github issue #180]
  3. Bernerd Schaefer

    Docfix

  4. Cyril Mougel

    add spec about delete an embeds_many collection by [] and delete_all

    authored July 03, 2010 bernerdschaefer committed July 23, 2010
  5. Stein Martin Hustad

    Only delete embedded documents if _destroy parameter has a true value…

    …. Truth check copied from ActiveRecord
    authored July 22, 2010 railsjedi committed July 22, 2010
  6. Jacques Crocker

    Merge remote branch 'durran/master'

    authored July 22, 2010
  7. Jacques Crocker

    Make sure criteria only tries to merge multiple hashes (not strings).

    [Resolves github issue #205]
    authored July 22, 2010
  8. Bernerd Schaefer

    Default attributes for references one/many create

    [Resolves github issue #175]
  9. Jacques Crocker

    Add failing spec for issue #205

    authored July 22, 2010
  10. Bernerd Schaefer

    ReferencesManyAsArray works with ReferencedIn

    When setting the parent attribute on the child document we check whether
    the association is a references_many or referenced_in to decide if we
    need to push or set the id.
    
    [Resolves github issue #206]
  11. Bernerd Schaefer

    Execute `rake spec` from `rake spec:all`

    Shell scripts exit when they encounter failures, and call `rake` instead
    of `rake spec`.
  12. Bernerd Schaefer

    ReferencesManyAsArray does not require inverse association

    Since a references_many :stored_as => :array association stores the
    related object ids in an internal collection, setting the inverse
    association is optional. This allows for one-way referential
    associations.
  13. Bernerd Schaefer

    Simplify document traversal in index rake task

  14. Let the Gemfile pull its dependencies from the gemspec, will need bun…

    …dler > 1.0.0.beta.1
    authored July 22, 2010 Pairing Workstation Calculon committed July 22, 2010

Jul 21, 2010

  1. Jacques Crocker

    Adding Model.create_indexes to create indexes

    By default this gets run if autocreate_indexes option is on. Otherwise you can run it manually (or use the rake db:create_indexes) to create the indexes on your MongoDB database
    authored July 21, 2010
  2. Bernerd Schaefer

    Clean up Mongoid#reconnect! and update unit specs

  3. Bernerd Schaefer

    Reconnect when Unicorn or Passenger use forking

    If Passenger or Unicorn are configured to load the application before
    forking their workers, we reconnect to mongo in the child process.
  4. Dan Dofter

    Added delegation from Finders to Criteria for the near method; this a…

    …llows for the syntax Address.near(:latlng => [37.7, -122.4, 1]).
    authored July 21, 2010 railsjedi committed July 21, 2010
  5. Jacques Crocker

    Fixing db:create_indexes rake task (and adding desc)

    authored July 20, 2010
  6. Jacques Crocker

    Indexes are now *NOT* created by default in Mongoid.

    Also added rake db:create_indexes that will force mongoid to create the indexes on your database (may take a long time).
    
    If you want the old functionality, just set autocreate_indexes to true (via yml, or direct config). The recommended behavior though is to keep this turned off, and create indexes manually via mongodb.
    authored July 20, 2010
  7. Jacques Crocker

    Revert "Deprecating Model.logger= in favor of Mongoid.logger="

    This reverts commit c999b1f.
    authored July 20, 2010
  8. Jacques Crocker

    swapping out default ruby

    authored July 20, 2010

Jul 20, 2010

  1. Jacques Crocker

    Deprecating Model.logger= in favor of Mongoid.logger=

    They both do the same thing. Unless we're able to get separate loggers per model, I think its best to deprecate this one.
    authored July 20, 2010
  2. Cleaning up whitespace

    authored July 20, 2010 Pairing Workstation Bender committed July 20, 2010
  3. Fixing failing integration spec on nested attributes for embedded doc…

    …s, cleaning up nested build on embeds many
    authored July 20, 2010 Pairing Workstation Bender committed July 20, 2010
  4. Removing --backtrace

    authored July 20, 2010 Pairing Workstation Bender committed July 20, 2010
  5. David Backeus

    Fix for using Model.find with an array containing only one id.

    authored July 20, 2010 railsjedi committed July 20, 2010

Jul 19, 2010

  1. Jacques Crocker

    Cleaning up spaces

    authored July 19, 2010
  2. Didier Lafforgue

    fix bugs about accepts_nested_attributes_for and embedded documents

    authored July 20, 2010 railsjedi committed July 19, 2010
  3. Jacques Crocker

    Merge branch 'master' of github.com:durran/mongoid

    authored July 19, 2010
  4. Dan Dofter

    Chaining where methods that include the same field now merges the sel…

    …ection criteria. Moved deleted scope into Mongoid::Paranoia and deleted Mongoid::Paranoid.
    authored July 18, 2010 railsjedi committed July 19, 2010
  5. Jacques Crocker

    Fix typo

    authored July 19, 2010 Pairing Workstation Bender committed July 19, 2010
Something went wrong with that request. Please try again.