Permalink
Commits on Oct 12, 2010
  1. Fixed bug regarding validates_associated on references_many associations

    Your Name
    Your Name committed Oct 12, 2010
    WARNING: there are no tests for validates_associated with different associations !
Commits on Oct 7, 2010
  1. Changed how store_in works with inheritance:

    Developer Developer
    Developer authored and Developer committed Oct 7, 2010
    You can now store subclasses in their own collections
    Note: You cannot find a subclass from the parent
    class when it is stored in a different collection.
Commits on Oct 6, 2010
Commits on Sep 30, 2010
Commits on Sep 27, 2010
  1. Merge branch 'mongo_dependency_bump' of http://github.com/coderifous/…

    jacquescrocker committed Sep 27, 2010
    …mongoid into coderifous-mongo_dependency_bump
  2. Merge branch 'multi_parameters_fix' of http://github.com/rymai/mongoid

    jacquescrocker committed Sep 27, 2010
    …into rymai-multi_parameters_fix
Commits on Sep 25, 2010
  1. Fix a spec that was failing when executing the spec around midnight i…

    Rémy Coutable
    Rémy Coutable committed Sep 25, 2010
    …n another timezone than Alaska: i'm in Switzerland !
  2. Ensure submit a partially blank date do not raise an exception and se…

    Rémy Coutable
    Rémy Coutable committed Sep 25, 2010
    …t blank part of the date to 1. Some little refactoring too.
  3. Ensure generated date is nil if all date parameters given are blank (…

    Rémy Coutable
    Rémy Coutable committed Sep 25, 2010
    …in addition to check that no exception is raised in that case).
  4. Fixed a typo in specs

    Rémy Coutable
    Rémy Coutable committed Sep 25, 2010
  5. Removing whitespace

    jacquescrocker committed Sep 25, 2010
  6. Stronger Regexp, case-sensitive by default

    Ben Taitelbaum authored and jacquescrocker committed Sep 24, 2010
    Existing Regexp didn't match beginning and end of string, so allowed for false matches
    ActiveModel documentation states that validates_uniqueness_of should use :case_sensitive => true by default
  7. Failing spec showing issue

    Ben Taitelbaum authored and jacquescrocker committed Sep 24, 2010
    The Regexp is too weak for uniqueness
Commits on Sep 24, 2010
  1. removed dead code

    sskirby committed Sep 23, 2010
  2. Merged change by rymai: Do not throw exception if all components of a

    sskirby committed Sep 23, 2010
    date are blank, instead set the date to nil (like AR does).
  3. modified multi-parameter attributes patch by fauxparse to behave cons…

    sskirby committed Sep 23, 2010
    …istently with the way ActiveRecord handles timezones
  4. support for multi-parameter attributes, as seen in Rails's (terrible,…

    fauxparse authored and sskirby committed Aug 12, 2010
    … but inescapable) form helpers
  5. made casting of Dates and DateTimes to Time work like ActiveRecord in…

    sskirby committed Sep 17, 2010
    … that they assume that the given values are in the local time
Commits on Sep 22, 2010
  1. allows the case_sensitive => false option to work with validates_uniq…

    adkron authored and jacquescrocker committed Sep 22, 2010
    …uness.
    
    Closes github issue 351.
    
    Signed-off-by: Amos King <amos.l.king@gmail.com>
Commits on Sep 19, 2010
  1. Revert "Defer connection until first use, instead of at configuration…

    durran committed Sep 19, 2010
    …-time."
    
    This reverts commit 704a5e7.
  2. Defer connection until first use, instead of at configuration-time.

    CodeMonkeySteve authored and durran committed Aug 15, 2010
    This is necessary for use with Thin, as it doesn't start the EventMachine reactor until the first request.
    Note that, by default, the Railtie will still force the connection at initialization-time, but this can be overriden.
  3. Romanian translation.

    kfl62 authored and durran committed Sep 18, 2010
  4. Hungarian translation.

    kfl62 authored and durran committed Sep 18, 2010
Commits on Sep 18, 2010
  1. Return stats on the collection

    Daniel Bretoi authored and jacquescrocker committed Sep 18, 2010