Permalink
Commits on Jan 10, 2011
  1. Prevent infinite loops when validating associated documents from both…

    durran committed Jan 10, 2011
    … sides of the relation
Commits on Jan 9, 2011
  1. Merge branch 'with_cache_classes' of https://github.com/etehtsea/mongoid

    durran committed Jan 9, 2011
     into etehtsea-with_cache_classes
  2. Merge branch 'fix_typo_in_docs' of https://github.com/asynchrony/mongoid

    durran committed Jan 9, 2011
     into asynchrony-fix_typo_in_docs
  3. Merge branch 'fix_indentifiers_typo' of https://github.com/nickhoffma…

    durran committed Jan 9, 2011
    …n/mongoid into nickhoffman-fix_indentifiers_typo
  4. 422 response code on validation errors

    smix committed with durran Nov 29, 2010
  5. 404 error unless find() successful

    smix committed with durran Nov 28, 2010
  6. Merge branch 'master' of https://github.com/radar/mongoid into radar-…

    durran committed Jan 9, 2011
    …master
    
    Conflicts:
    	lib/mongoid/railtie.rb
  7. Merge branch 'app_generators' of https://github.com/etehtsea/mongoid

    durran committed Jan 9, 2011
    …into etehtsea-app_generators
  8. Added NL (Dutch) locales for Mongoid.

    Michael van Rooijen committed Jan 9, 2011
  9. Adding in the ability to autosave referenced relations on parent create.

    durran committed Jan 9, 2011
    - Adding the :autosave => true option to a references_many or
      references_one relation will now tell Mongoid to automatically save
      that association when the parent is first created. This will not
      happen on subsequent updates. Defaults to false.
  10. Allow better integration via referenced_in from a document, either

    durran committed Jan 9, 2011
    embedded or not, to an object in another collection or database that
    does not reference the document back.
  11. fix edge rails's deprecated message (use config.app_generators.* if a…

    Konstantin Shabanov committed Dec 30, 2010
    …vailable instead of config.generators.*)
  12. fix error loading with config.cache_classes = true (rails edge)

    Konstantin Shabanov committed Jan 9, 2011
Commits on Jan 8, 2011
Commits on Jan 7, 2011
  1. fix problem with 1.8 ruby series where we can't splat args if not the…

    shingara committed with Paul Elliott Jan 6, 2011
    … last
  2. avoid add ruby-debug in gemspec use it only in gemfile and use the go…

    shingara committed with Paul Elliott Jan 6, 2011
    …od ruby-debug with the good ruby version
  3. Silly mistake in ro locale

    kfl62 committed with Paul Elliott Jan 2, 2011
Commits on Jan 6, 2011
  1. Foreign key name should always be the name of the relation plus _id, …

    durran committed Jan 6, 2011
    …except in many-to-many and polymorphic situations
  2. More fixes in the binding code:

    durran committed Jan 6, 2011
    - All bindings now pass :building => true through to the inverse.
    - All persistence operations skip if building.
    - In relations now persist the parent if not building.
  3. Bindings must always pass a :building => true to the setter not to fo…

    durran committed Jan 6, 2011
    …rce a save on the inverse
  4. Allowing nil or nothing to be passed to build_ and create_ methods on…

    durran committed Jan 6, 2011
    … one-to-one relations
  5. We are always building the relation, therefore not saving unless its …

    durran committed Jan 5, 2011
    …an explicit set of the relation
  6. Fixing my horrible typo

    durran committed Jan 5, 2011
Commits on Jan 5, 2011
  1. Allow create for embedded to accept parent as param

    Paul Elliott committed Jan 5, 2011
    For example: Address.create(addressable: person)
  2. Needed to override ActiveModel's #read_attribute_for_validation in order

    durran committed Jan 5, 2011
    to prevent excessive binding of relations when they were being
    validated. Also cleaned up continuation code to ensure reloading was not
    happening of the documents accidentally.
Commits on Jan 4, 2011