Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 23, 2010
  1. @durran

    Bumping version to beta 10

    durran authored
  2. @railsjedi
  3. @bernerdschaefer

    Add conversions to enable field :type => Symbol

    Damien Mathieu authored bernerdschaefer committed
Commits on Jul 22, 2010
  1. @railsjedi

    Track descendent Mongoid::Documents via descendents module method.

    railsjedi authored
    Removes use of ObjectSpace from `rake db:create_indexes`
  2. @bernerdschaefer

    Document#remove resets attribute to correct value

    bernerdschaefer authored
    [resolves github issue #180]
  3. @bernerdschaefer

    Docfix

    bernerdschaefer authored
  4. @shingara @bernerdschaefer
  5. @smh @railsjedi

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

    smh authored railsjedi committed
    …. Truth check copied from ActiveRecord
  6. @railsjedi
  7. @railsjedi
  8. @bernerdschaefer

    Default attributes for references one/many create

    bernerdschaefer authored
    [Resolves github issue #175]
  9. @railsjedi

    Add failing spec for issue #205

    railsjedi authored
  10. @bernerdschaefer

    ReferencesManyAsArray works with ReferencedIn

    bernerdschaefer authored
    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. @bernerdschaefer

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

    bernerdschaefer authored
    Shell scripts exit when they encounter failures, and call `rake` instead
    of `rake spec`.
  12. @bernerdschaefer

    ReferencesManyAsArray does not require inverse association

    bernerdschaefer authored
    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. @bernerdschaefer
  14. Let the Gemfile pull its dependencies from the gemspec, will need bun…

    Durran Jordan authored Pairing Workstation Calculon committed
    …dler > 1.0.0.beta.1
Commits on Jul 21, 2010
  1. @railsjedi

    Adding Model.create_indexes to create indexes

    railsjedi authored
    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
  2. @bernerdschaefer
  3. @bernerdschaefer

    Reconnect when Unicorn or Passenger use forking

    bernerdschaefer authored
    If Passenger or Unicorn are configured to load the application before
    forking their workers, we reconnect to mongo in the child process.
  4. @archfear @railsjedi

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

    archfear authored railsjedi committed
    …llows for the syntax Address.near(:latlng => [37.7, -122.4, 1]).
  5. @railsjedi
  6. @railsjedi

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

    railsjedi authored
    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.
  7. @railsjedi
  8. @railsjedi

    swapping out default ruby

    railsjedi authored
Commits on Jul 20, 2010
  1. @railsjedi

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

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

    Durran Jordan authored Pairing Workstation Bender committed
  3. Fixing failing integration spec on nested attributes for embedded doc…

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

    Durran Jordan authored Pairing Workstation Bender committed
  5. @dbackeus @railsjedi
Commits on Jul 19, 2010
  1. @railsjedi

    Cleaning up spaces

    railsjedi authored
  2. @did @railsjedi
  3. @railsjedi
  4. @archfear @railsjedi

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

    archfear authored railsjedi committed
    …ection criteria. Moved deleted scope into Mongoid::Paranoia and deleted Mongoid::Paranoid.
  5. @railsjedi

    Fix typo

    railsjedi authored Pairing Workstation Bender committed
Something went wrong with that request. Please try again.