This repository has been archived by the owner. It is now read-only.
Permalink
Commits on Aug 26, 2008
  1. Made data_objects dependency >= 0.9.5.

    bernerdschaefer committed Aug 26, 2008
    DataObjects releases (like those of Extlib) are largely independent of
    developments in dm-core, so we don't need to require an exact version.
Commits on Aug 22, 2008
  1. Added []= method to PropertySet.

    bernerdschaefer committed Aug 22, 2008
    We needed a []= method on PropertySet to ensure that properties from
    repositories other than :default could overwrite existing properties.
    
    This resolves #540.
  2. Fixed bug with faulty ordering of relationships when adding them to a…

    tcnijmeijer authored and dbussink committed Aug 22, 2008
    … read query.
    
    Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
Commits on Aug 21, 2008
Commits on Aug 19, 2008
  1. Fix for #528. Updates how custom types are dumped in Query.

    benburkert committed Aug 19, 2008
    * If a query involves a custom type, the property value must be dumped via the custom type API.
    * Query's with custom types in a Query::Path are handled as a special case.
Commits on Aug 16, 2008
Commits on Aug 12, 2008
  1. Stripped whitespace with "sake strip"

    Dan Kubb
    Dan Kubb committed Aug 12, 2008
  2. Adjusted extlib dependency to version 0.9.5

    Dan Kubb
    Dan Kubb committed Aug 12, 2008
Commits on Aug 7, 2008
  1. Updated table introspection to use proper table

    Dan Kubb
    Dan Kubb committed Aug 7, 2008
    * Reformatted SQL queries
Commits on Aug 4, 2008
  1. Resource#key returns original value when changed.

    bernerdschaefer committed Aug 4, 2008
    Calling key on a saved resource returns the original key value if it
    has changed, which allows you to save and update resources which have
    new primary keys.
    
    This resolves #504.
  2. Relationship#get_children always includes child.

    bernerdschaefer committed Aug 4, 2008
    Relationship#get_children assumed that the child would be in the
    identity_map, which is not the case when the child is not saved yet.
    
    Resolves #509.
  3. Collection block defaults to lambda {}

    bernerdschaefer committed Aug 4, 2008
    For SEL, we need to be able to create a non-lazy Collection. This lets
    us create a new Collection with no block, and add resources to it
    directly.
    
    This resolves #512 and #505.
Commits on Aug 3, 2008
  1. fixed problem with composite keys and SEL. Temporary solution (compos…

    somebee committed Aug 3, 2008
    …ite keys still doesn't work properly until we support OR)
  2. fixed offset with lazy loading issue [#507], added dumping column val…

    Tymon (teamon) Tobolski
    Tymon (teamon) Tobolski committed Aug 3, 2008
    …ue for :default [#508]
Commits on Aug 1, 2008
  1. Resource.save returns true if associations save.

    bernerdschaefer committed Aug 1, 2008
    If a resource is not saved, but any of its associations are, then it
    will now return true. Also renamed 'success' to 'saved' in #save.
Commits on Jul 31, 2008
  1. Move unknown options to Property#other_options so adapters can use th…

    wycats committed Jul 31, 2008
    …em for their own options in naming conventions
Commits on Jul 30, 2008
  1. Removed unneccesary :class_names.

    bernerdschaefer committed Jul 30, 2008
    Extlib supports finding parent and sibling constants, so there's no
    need to specify a :class_name for relationships in the same module.
    This confirms that #411 is resolved.
  2. Added spec for STI and the IdentityMap.

    bernerdschaefer committed Jul 30, 2008
    Added a spec to confirm that the IdentityMap is correctly used with
    single table inheritance models. This resolves #355.
  3. Raw condition support on associations.

    bernerdschaefer committed Jul 30, 2008
    Updated DM::Relationship to allow the use of raw conditions using
    finders on associations.
Commits on Jul 29, 2008
  1. ManyToOne association accepts association object.

    bernerdschaefer committed Jul 29, 2008
    Updated ManyToOne proxy to implement instance_variable_get like
    kind_of? and responds_to?, checking super first and then the parent
    object. This was necessary because trying to get the key value on a
    proxy object would call instance_variable_get on the proxy and not on
    the resource.