Skip to content
Commits on Dec 14, 2008
  1. Revert "Updated SQLite3 serial column to not use AUTOINCREMENT"

    This reverts commit aaea898.
    
    I was mistaken with this commit.  AUTOINCREMENT should be used and not
    the default behavior of SQLite3, which is to increment the integer
    primary key.  The problem with that approach is that once all the keys
    are used up, SQLite3 will begin to reuse keys for records that have been
    deleted, which is definately a bad idea in most cases.
    Dan Kubb committed Dec 14, 2008
  2. Removed need for DM prefix on property types

    Dan Kubb committed Dec 14, 2008
Commits on Dec 13, 2008
  1. Further simplify SERIAL column creation for PostgreSQL

    * Allows other column properties like NOT NULL to be added when applicable
    Dan Kubb committed Dec 13, 2008
  2. Minor comment update

    Dan Kubb committed Dec 13, 2008
  3. @dbussink
  4. Cleaned up the SQL generation code

    * Changed Array#*(String) usage to more clear Array#join(String)
    * Dropped unecessary parenthesis between ANDed conditions in the WHERE clause
    Dan Kubb committed Dec 13, 2008
Commits on Dec 12, 2008
  1. Updated Manifest.txt

    Dan Kubb committed Dec 12, 2008
  2. Removed Relationship#get_children and Relationship#get_parent

    * Misc simplifcation of Relationship and Association proxies
    * Minor spec fixes
    Dan Kubb committed Dec 12, 2008
  3. Removed ManyToMany::Proxy (to be rebuilt)

    * Removed RelationshipChain (should not be rebuilt)
    * Updated OneToMany::Proxy to be a subclass of Collection
    * Updated the Postgres typemap to use the real type name rather than the alias
    * Updated has() and belongs_to() to throw an exception of the :through
      option is provided.  This is just until many to many associations are
      rewritten.
    * Added Collection#save.  Moved from OneToMany::Proxy#save
    Dan Kubb committed Dec 12, 2008
  4. Minor simplification to Collection#inspect

    Dan Kubb committed Dec 11, 2008
Commits on Dec 11, 2008
  1. Collection.new no longer accepts a block

    * Simplified Adapter API so that #read_many only needs to return an
      Array.  In many cases it is no longer necessary to use read_many
      directly, just instantiate a Collection and when/if it is lazy-loaded
      it will take care of using read_many directlly.
    Dan Kubb committed Dec 11, 2008
Commits on Dec 4, 2008
  1. Fixed failing transaction spec

    * Added missing class to transaction spec
    * Added missing after block to transaction spec
    Dan Kubb committed Dec 3, 2008
Commits on Dec 3, 2008
  1. Added MySQL 3.23/4.0/4.1 compatibility

    * Updated SQL introspection queries to use syntax compatible with
      older versions of MySQL
    * Updated table/column escaping and quoting to be more DRY
    * Updated DO driver dependencies to 0.9.9
    * Fixed specs that were broken with MySQL
    
    [#689 state:resolved]
    Dan Kubb committed Dec 3, 2008
  2. Updated SQLite3 serial column to not use AUTOINCREMENT

    * In SQLite3, the integer primary key is automatically an auto-increment
      field.  Using the explicit AUTOINCREMENT keyword changes the behavior
      and creates a secondary table behind the scenes that is inserted into
      in order retrieve the next available row number.
    Dan Kubb committed Dec 2, 2008
Commits on Dec 2, 2008
  1. Revert "Allow many_to_one association methods to be overridden (this …

    …should be generalized)."
    
    This reverts commit b7d031c.
    
    While this is a great idea for the future, the implementation introduces
    a few subtle bugs that cannot be resolved at this time.
    Dan Kubb committed Dec 2, 2008
  2. Replaced YARD type notation "Hash<KeyClass => ValueClass>" and "Hash{…

    …KeyClass => ValueClass}" with "Hash(KeyClass => ValueClass)" since YARD does not define a notation for Hash keys or values, and Merb is using parentheses.
    Emmanuel Gomez committed with Dan Kubb Nov 28, 2008
  3. Replaced "Array<Member, Classes>" type notation with "Array(Member, C…

    …lasses)", because YARD doesn't define notation for Array or Hash members, and the parenthesis notation is what Merb uses.
    Emmanuel Gomez committed with Dan Kubb Nov 28, 2008
  4. Normalized Collection API doc formatting.

    Emmanuel Gomez committed with Dan Kubb Nov 28, 2008
  5. Fixed typo in InMemoryAdapter.

    Emmanuel Gomez committed with Dan Kubb Nov 28, 2008
Commits on Dec 1, 2008
  1. Model#get and Collection#get return nil when the key is nil or an emp…

    …ty string
    
    * Model#get! and Collection#get will raise exceptions when the key
      is nil or an empty string
    
    [#598, state:resolved]
    Dan Kubb committed Dec 1, 2008
  2. Marked failing shared collection specs as pending

    Dan Kubb committed Dec 1, 2008
Commits on Nov 29, 2008
  1. @dbussink
  2. @dbussink
Commits on Nov 28, 2008
  1. @david

    Fix reference to deleted method.

    david committed Nov 28, 2008
  2. @david
  3. @david
  4. @david
Commits on Nov 27, 2008
  1. Updated Collection#replace to accept Hashes in the Array

    * Collection#replace will initialize new Resources for each Hash in
      the Array argument
    Dan Kubb committed Nov 27, 2008
  2. Fixed Collection to work with has() and belongs() associations

    * Allows you to go: collection.parents or collection.children and it
      will return a Collection with the appropriate resources
    Dan Kubb committed Nov 27, 2008
  3. Marked specs for ManyToMany::Proxy as pending

    Dan Kubb committed Nov 26, 2008
Something went wrong with that request. Please try again.