Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 10, 2011
  1. @durran
  2. @durran
  3. @clemensp @durran

    added :reject_if => :all_blank for accepts_nested_attributes_for, and…

    clemensp authored durran committed
    … related tests
Commits on Jan 9, 2011
  1. @durran

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

    durran authored
     into etehtsea-with_cache_classes
  2. @durran

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

    durran authored
     into asynchrony-fix_typo_in_docs
  3. @durran

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

    durran authored
    …n/mongoid into nickhoffman-fix_indentifiers_typo
  4. @durran

    422 response code on validation errors

    smix authored durran committed
  5. @durran

    404 error unless find() successful

    smix authored durran committed
  6. @durran

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

    durran authored
    …master
    
    Conflicts:
    	lib/mongoid/railtie.rb
  7. @durran

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

    durran authored
    …into etehtsea-app_generators
  8. @meskyanichi
  9. @durran

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

    durran authored
    - 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. @durran
  11. @durran

    Allow better integration via referenced_in from a document, either

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

    Konstantin Shabanov authored
    …vailable instead of config.generators.*)
  13. fix error loading with config.cache_classes = true (rails edge)

    Konstantin Shabanov authored
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…

    shingara authored Paul Elliott committed
    … last
  3. @shingara

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

    shingara authored Paul Elliott committed
    …od ruby-debug with the good ruby version
  4. @kfl62

    Silly mistake in ro locale

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

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

    durran authored
    …except in many-to-many and polymorphic situations
  2. @durran

    More fixes in the binding code:

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

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

    durran authored
    …rce a save on the inverse
  4. @durran
  5. @durran

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

    durran authored
    …an explicit set of the relation
  6. @durran

    Fixing my horrible typo

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

    Paul Elliott authored
    For example: Address.create(addressable: person)
  2. @durran

    Needed to override ActiveModel's #read_attribute_for_validation in order

    durran authored
    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.
  3. @durran
  4. @durran
  5. @durran
Commits on Jan 4, 2011
  1. @durran
Something went wrong with that request. Please try again.