Skip to content
Commits on Jul 27, 2010
  1. @durran

    Updating shel script yet again

    durran committed Jul 27, 2010
  2. @durran
  3. @durran
  4. @durran

    Bumping to active model rc

    durran committed Jul 27, 2010
  5. @durran

    Bumping version again

    durran committed Jul 26, 2010
Commits on Jul 26, 2010
  1. @durran

    Updating README

    durran committed Jul 26, 2010
  2. @durran

    Require singleton first

    durran committed Jul 26, 2010
  3. @bernerdschaefer

    Criteria uses scope_stack when delegating to model

    - When the Criteria object delegates to the model, it pushes the current
      criteria on the stack so that all/where/etc. are properly scoped within
      the delegated method.
    
    - Refactor Mongoid::Scope and Mongoid::NamedScope to respect the
      criteria scope stacks.
    bernerdschaefer committed Jul 26, 2010
  4. @durran

    Further expeditions into Rails 3 configuration:

    - rake db:create_indexes now works properly. The descendants
      and ever so confusing decendents methods now get called at
      the appropriate time and subclasses will properly get their
      indexes as well.
    
    - Mongoid will now preload all models properly through the
      config.to_prepare option in another initializer. This allowed
      all the models to get loaded when the environment is loaded.
      This helped solve the indexing and subclass querying issue.
    
    - Note that there is a bug with the current rails console, it
      performed a second reload which caused issues around this
      area and was subsequently removed by DHH It will be
      present in the RC release - so just ignore console for now.
    durran committed Jul 26, 2010
  5. @jacquescrocker
  6. @jacquescrocker

    .descendents => .descendants

    and yes, i did fail out of the middle school spelling bee on the first round.
    jacquescrocker committed Jul 26, 2010
  7. @jacquescrocker
  8. @jacquescrocker
  9. @jacquescrocker

    Fix for Mongoid::Config#from_hash

    Needs to check the respond_to on the writer instead of the reader before assigning.
    jacquescrocker committed Jul 26, 2010
  10. @jacquescrocker
  11. @durran
  12. @durran

    Bumping version to beta 12

    durran committed Jul 26, 2010
  13. @durran
  14. @benedikt

    Save objects added to a ReferencesManyAsArray association on saved pa…

    …rents just like ReferencesMany does.
    benedikt committed Jul 26, 2010
Commits on Jul 25, 2010
  1. @durran

    Adding Document.reflect_on_all_associations

    This is needed for formtastic support.
    durran committed Jul 25, 2010
  2. @durran

    Bumping to version beta 11

    durran committed Jul 25, 2010
  3. @durran

    Hooking in the safety DSL on a per-query basis.

    The safety DSL can now be used like so:
    
    Person.safely.create(:title => "Sir")
    person.safely.save!
    
    The Safety proxy delegates using method_missing
    except in the cases of methods that take an
    attributes hash. This is because we did not want
    to throw a :safe => true in the hash and then
    remove it later - safe is too common of a word
    and could be used as a field/attribute and
    collide with this functionality. I've deemed the
    slight duplication acceptable.
    durran committed Jul 25, 2010
  4. @durran
  5. @durran

    Persistence commands now accept an options hash.

    This is so that instead of just passing in a boolean
    to alert it to validate or not, we can now provide
    a safe mode option on a per query basis. Also other
    options could be supplied in the future.
    durran committed Jul 25, 2010
  6. @durran

    Adding in Mongoid::Safety module.

    This first commit introduces the class and instance level
    methods "safely" which will be used as a DSL to indicate
    the chained database operation should execute in safe
    mode.
    durran committed Jul 25, 2010
  7. @durran

    Passing a boolean no longer allowed for save.

    To stay consistent with Rails on this front, in order
    to persist with no validation, :validate => false must
    be passed as an argument.
    durran committed Jul 25, 2010
  8. @durran

    Slight formatting change

    durran committed Jul 25, 2010
  9. @durran

    Updating warning message

    durran committed Jul 25, 2010
Commits on Jul 24, 2010
  1. @durran
  2. @durran
  3. @durran
  4. @durran
  5. @durran
  6. @durran

    Adding completely ridiculous, over-the-top install message so everyon…

    …e knows the id changes on next version.
    durran committed Jun 4, 2010
  7. @durran

    Renaming some test vars

    durran committed Jul 24, 2010
Something went wrong with that request. Please try again.