Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 24, 2010
  1. @jeremy
Commits on May 23, 2010
  1. @jeremy

    Bump 2-3-stable to 2.3.7

    jeremy authored
  2. @jeremy

    2.3.6 release

    jeremy authored
Commits on May 22, 2010
  1. @tenderlove @fxn

    backporting beda2d4 for newer sqlite-ruby bindings

    tenderlove authored fxn committed
    Signed-off-by: Xavier Noria <fxn@hashref.com>
Commits on May 18, 2010
  1. @jeremy

    Revert "Don't carry default value when changing column for a binary t…

    jeremy authored
    …ype on MySQL"
    
    Broke mysql tests.
    
    This reverts commit ddadcc7.
    
    Conflicts:
    
    	activerecord/test/cases/migration_test.rb
    
    [#3234 state:open]
  2. @etiennebarrie @jeremy

    make add_index and remove_index more resilient; new rename_index meth…

    etiennebarrie authored jeremy committed
    …od; track database limits
    
    [#3452 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  3. @ianwhite @josevalim

    Nested records (re: autosave) are now updated even when the intermedi…

    ianwhite authored josevalim committed
    …ate parent record is unchanged [#4242]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on May 17, 2010
  1. @fxn

    method rename to fix a broken test

    fxn authored
  2. @rizwanreza @fxn

    Deprecate Array#rand in favor of Array#random_element [#4555 stated:c…

    rizwanreza authored fxn committed
    …ommitted]
    
    Signed-off-by: Xavier Noria <fxn@hashref.com>
  3. @josevalim
Commits on May 16, 2010
  1. @Wijnand @josevalim

    Postgresql doesn't allow to change a string type column to a binary t…

    Wijnand authored josevalim committed
    …ype. Skip this test for postgresql for now.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. @no6v @josevalim

    make fixture accessors private

    no6v authored josevalim committed
    prevent to be run fixture accessor (e.g. test_foos for TestFoo model) as a test case
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. @josevalim

    Don't carry default value when changing column for a binary type on M…

    Elomar França authored josevalim committed
    …ySQL [#3234 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on May 15, 2010
  1. @lawrencepit @jeremy

    docs + test for each_error

    lawrencepit authored jeremy committed
    [#3185 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. @joshk @josevalim

    backported AR correction to find_each and find_in_batches to raise wh…

    joshk authored josevalim committed
    …en the user uses select but does not specify the primary key
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on May 14, 2010
  1. @josevalim
Commits on May 12, 2010
  1. @lifo
  2. @jeremy

    Drop require removed by 8e679f1

    jeremy authored
  3. @spastorino @jeremy

    type_cast_calculated_value refactor: value is never a Fixnum here. Fi…

    spastorino authored jeremy committed
    …x test since SQLite returns Float.
    
    [#4514 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on May 11, 2010
  1. @josevalim
Commits on May 9, 2010
  1. @lifo
  2. @lifo

    Revert "Revert "Add index length support for MySQL [#1852 state:resol…

    lifo authored
    …ved]" (breaks the build)"
    
    This reverts commit eababa3.
Commits on May 8, 2010
  1. Revert "Add index length support for MySQL [#1852 state:resolved]" (b…

    Carl Lerche authored
    …reaks the build)
    
    This reverts commit 3616141.
  2. @spastorino

    The intention here was to assign to different objects ht: Radar

    spastorino authored Carl Lerche committed
  3. @eparreno @lifo

    Add index length support for MySQL [#1852 state:resolved]

    eparreno authored lifo committed
    Example:
    
      add_index(:accounts, :name, :name => 'by_name', :length => 10)
      => CREATE INDEX by_name ON accounts(name(10))
    
      add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15})
      => CREATE INDEX by_name_surname ON accounts(name(10), surname(15))
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on May 7, 2010
  1. @spastorino @jeremy

    Make find_or_create and find_or_initialize work mixing explicit param…

    spastorino authored jeremy committed
    …eters and a hash. ht: Marc-André Lafortune
    
    [#4457 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on May 4, 2010
  1. @lifo

    Use primary key in conditions, not 'id' [#4395 state:resolved]

    lifo authored
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
    
    Conflicts:
    
    	activerecord/test/cases/nested_attributes_test.rb
  2. @rubymerchant @jeremy

    AR JSON Serializer now supports custom root option.

    rubymerchant authored jeremy committed
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  3. @brianmario @jeremy

    Allow pre-casted values (other than nil) to pass through from calcula…

    brianmario authored jeremy committed
    …tions un-touched
    
    [#4514 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  4. @lifo
Commits on Apr 29, 2010
  1. @neerajdotname @josevalim

    making rake:migrate VERSION=0 a noop called in succession. [#2137 sta…

    neerajdotname authored josevalim committed
    …te:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Apr 28, 2010
  1. @cghawthorne @jeremy

    Destroy respects optimistic locking.

    cghawthorne authored jeremy committed
    Now works with :dependent => :destroy and includes unit tests for that
    case.  Also includes better error messages when updating/deleting stale
    objects.
    
    [#1966 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Apr 24, 2010
  1. @jeremy

    Remove quoted_string_prefix entirely since PostgreSQL was the only da…

    jeremy authored
    …tabase adapter relying on it.
  2. @jeremy
  3. @jeremy
Something went wrong with that request. Please try again.