Permalink
Commits on Jan 10, 2011
  1. @durran
  2. @durran

    Prevent infinite loops when validating associated documents from both…

    … sides of the relation
    durran committed Jan 10, 2011
  3. @clemensp @durran
Commits on Jan 9, 2011
  1. @durran

    Merge branch 'with_cache_classes' of https://github.com/etehtsea/mongoid

     into etehtsea-with_cache_classes
    durran committed Jan 9, 2011
  2. @durran

    Merge branch 'fix_typo_in_docs' of https://github.com/asynchrony/mongoid

     into asynchrony-fix_typo_in_docs
    durran committed Jan 9, 2011
  3. @durran

    Merge branch 'fix_indentifiers_typo' of https://github.com/nickhoffma…

    …n/mongoid into nickhoffman-fix_indentifiers_typo
    durran committed Jan 9, 2011
  4. @durran

    422 response code on validation errors

    smix committed with durran Nov 29, 2010
  5. @durran

    404 error unless find() successful

    smix committed with durran Nov 28, 2010
  6. @durran

    Merge branch 'master' of https://github.com/radar/mongoid into radar-…

    …master
    
    Conflicts:
    	lib/mongoid/railtie.rb
    durran committed Jan 9, 2011
  7. @durran

    Merge branch 'app_generators' of https://github.com/etehtsea/mongoid

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

    Michael van Rooijen committed Jan 9, 2011
  9. @durran

    Adding in the ability to autosave referenced relations on parent create.

    - 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.
    durran committed Jan 9, 2011
  10. @durran
  11. @durran

    Allow better integration via referenced_in from a document, either

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

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

    Konstantin Shabanov committed Jan 9, 2011
Commits on Jan 8, 2011
  1. @durran
  2. @durran
Commits on Jan 7, 2011
  1. @durran
  2. @shingara

    fix problem with 1.8 ruby series where we can't splat args if not the…

    … last
    shingara committed with Paul Elliott Jan 6, 2011
  3. @shingara

    avoid add ruby-debug in gemspec use it only in gemfile and use the go…

    …od ruby-debug with the good ruby version
    shingara committed with Paul Elliott Jan 6, 2011
  4. @kfl62

    Silly mistake in ro locale

    kfl62 committed with Paul Elliott Jan 2, 2011
Commits on Jan 6, 2011
  1. @durran

    Foreign key name should always be the name of the relation plus _id, …

    …except in many-to-many and polymorphic situations
    durran committed Jan 6, 2011
  2. @durran

    More fixes in the binding code:

    - 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.
    durran committed Jan 6, 2011
  3. @durran

    Bindings must always pass a :building => true to the setter not to fo…

    …rce a save on the inverse
    durran committed Jan 6, 2011
  4. @durran

    Allowing nil or nothing to be passed to build_ and create_ methods on…

    … one-to-one relations
    durran committed Jan 6, 2011
  5. @durran

    We are always building the relation, therefore not saving unless its …

    …an explicit set of the relation
    durran committed Jan 5, 2011
  6. @durran

    Fixing my horrible typo

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

    For example: Address.create(addressable: person)
    Paul Elliott committed Jan 5, 2011
  2. @durran

    Needed to override ActiveModel's #read_attribute_for_validation in order

    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.
    durran committed Jan 5, 2011
  3. @durran
  4. @durran
  5. @durran
Commits on Jan 4, 2011
  1. @durran