Permalink
Commits on May 17, 2010
  1. Need the .gem ext for release

    durran committed May 17, 2010
  2. Be nice to nil values, for now.

    durran committed May 17, 2010
Commits on May 14, 2010
  1. Rake install should sudo

    durran committed May 14, 2010
  2. Bugfix: embedded many attached to parent

    Les Hill and Rafa Garcia committed with Pairing Station Calculon May 13, 2010
    - when the child has the parent set on it, not via << for example, the
      child is saved as an embeds one which fails later.
  3. Fix typo

    Les Hill and Rafa Garcia committed with Pairing Station Calculon May 13, 2010
  4. Fix error message

    Les Hill and Rafa Garcia committed with Pairing Station Calculon May 13, 2010
Commits on May 13, 2010
  1. Removing version file

    durran committed May 13, 2010
Commits on May 12, 2010
  1. Do not memoize nil embedded_ins

    Leo Soto and Thais Camilo committed May 12, 2010
    In fact we now are not memoizing nils at all
  2. Preserve order of attributes in parent for embeds_many

    Leo Soto and Thais Camilo committed May 12, 2010
  3. Take two at not clearing new_record? when using the embeds_many setter.

    Leo Soto and Thais Camilo committed May 12, 2010
    Now the child documents are not recreated if the array being set already
    contains mongoid documents. That way document state such as new_record?
    or changed? can be preserved.
Commits on May 11, 2010
  1. Revert "Do not clear new_record? when using the embeds_many setter."

    Leo Soto and Thais Camilo committed May 11, 2010
    This reverts commit 0d0398f.
  2. Do not clear new_record? when using the embeds_many setter.

    Leo Soto and Thais Camilo committed May 11, 2010
    Now we don't recreate the child documents if the array being set already
    contains mongoid documents. That way we can preserve the document state
    such as new_record? or changed?.
  3. Test for associations that were being set to nil in the DB when using…

    Leo Soto and Thais Camilo committed May 11, 2010
    … the setters
  4. When setting embeds_many, dont go through remove_attribute since it s…

    durran committed May 11, 2010
    …ets a dirty change to clear out the array
  5. Fixed a problem with the $pull path and embeds_many

    Mathias Biilmann Christensen committed with durran May 10, 2010
    When 10 or more documents were embedded the _pull method in the path
    module would generate bad paths and .destroy would fail.
  6. Adding the updated gemspec file.

    Emily Bache and Nicklas Ramhoj committed May 11, 2010
  7. Simplified time zone functionality to only support UTC or local time.…

    Emily Bache and Nicklas Ramhoj committed May 11, 2010
    … This is due to an issue in bson which we didn't spot earlier, which means it won't accept instances of ActiveSupport::TimeWithZone. With that being the case, it is difficult to support any other time zones than local and UTC. If and when bson starts supporting instances of ActiveSupport::TimeWithZone please revert this commit to bring back support for any time zone.
Commits on May 10, 2010
  1. __path is not a class attribute anymore

    Pairing Workstation Bender committed with Leo Soto and Thais Camilo May 10, 2010
    When there are multiple :inverse_of names, the only sound way to get a path is from an
    actual document instance
Commits on May 8, 2010
  1. Updating to mongo, bson 1.0.1

    durran committed May 8, 2010
Commits on May 7, 2010
  1. legacy branch doesn't use ERB to load config file, use plain YAML ins…

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
    …tead.
  2. merge fix

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
  3. fixed yet another merge problem

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
  4. fixed merge problem

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
  5. Tests weren't cleaning up after themselves. Cased failures when you r…

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
    …an them in a different order. Also run tests in PST since that is where the CI server lives.
  6. useful shell script to run all the specs in several time zones.

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
  7. Dates should never be changed, whatever time zone you set in config. …

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
    …Updated specs and implementation to reflect this.
    
    Fixed several other specs that failed when run with US time zone set on the machine.
  8. Fixed tests to not fail in the morning in Sweden

    Emily Bache and Nicklas Ramhoj committed May 7, 2010
  9. Improved test coverage and organization. Lots of well documented case…

    Emily Bache and Nicklas Ramhoj committed May 6, 2010
    …s, especially for when several time zones are involved.¨
  10. Extracted common code for Time, DateTime and Date into module TimeCon…

    Emily Bache and Nicklas Ramhoj committed May 6, 2010
    …versions. Also updated DateTime to use the config parameter for time zone.
  11. merged in spec changes and new context

    Emily Bache and Nicklas Ramhoj committed May 7, 2010