Permalink
Switch branches/tags
Commits on May 18, 2010
Commits on May 17, 2010
  1. Deprecate Array#rand in favor of Array#random_element [#4555 stated:c…

    rizwanreza authored and fxn committed May 16, 2010
    …ommitted]
    
    Signed-off-by: Xavier Noria <fxn@hashref.com>
Commits on May 16, 2010
  1. CI: bump rack to 1.1

    jeremy committed May 16, 2010
  2. Rack dependency bumped to 1.1.0, tests passing. [#3558 state:resolved]

    rizwanreza authored and josevalim committed May 16, 2010
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. Postgresql doesn't allow to change a string type column to a binary t…

    Wijnand authored and josevalim committed May 16, 2010
    …ype. Skip this test for postgresql for now.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  4. Added assert_attribute_type to clean up GeneratedAttributeTest [#2377

    jeffkreeftmeijer authored and josevalim committed May 16, 2010
    …state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  5. when we run rake rails:freeze:edge update the value of the "REVISION"…

    matthewrudy authored and josevalim committed Jan 5, 2009
    … file rather than creating a new file "REVISION_ce706..." each time [#1694 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  6. make fixture accessors private

    no6v authored and josevalim committed May 30, 2009
    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>
  7. Fix broken integration test in 2.x [#4565 state:resolved]

    Neeraj Singh authored and josevalim committed May 10, 2010
    Signed-off-by: José Valim <jose.valim@gmail.com>
  8. using :time_select when the attribute type is :time in the scaffold g…

    jeffkreeftmeijer authored and josevalim committed May 14, 2010
    …enerator. [#2377 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  9. Don't carry default value when changing column for a binary type on M…

    Elomar França authored and josevalim committed Sep 27, 2009
    …ySQL [#3234 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on May 15, 2010
  1. docs + test for each_error

    lawrencepit authored and jeremy committed Sep 11, 2009
    [#3185 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. make sure `as` is set before trying to build an #{as}_counter. [#2804

    jeffkreeftmeijer authored and jeremy committed May 15, 2010
    …state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  3. db:drop:all throws error when database does not exist [#2997 state:re…

    Neeraj Singh authored and jeremy committed Apr 20, 2010
    …solved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  4. partial counters with :as [#2804 state:resolved]

    jeffkreeftmeijer authored and jeremy committed May 15, 2010
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  5. backported AR correction to find_each and find_in_batches to raise wh…

    joshk authored and josevalim committed May 11, 2010
    …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
Commits on May 12, 2010
  1. to_json and to_xml tests added to ActiveResource

    spastorino authored and jeremy committed May 12, 2010
    [#4529 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. Drop require removed by 8e679f1

    jeremy committed May 12, 2010
  3. type_cast_calculated_value refactor: value is never a Fixnum here. Fi…

    spastorino authored and jeremy committed May 12, 2010
    …x test since SQLite returns Float.
    
    [#4514 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on May 11, 2010
Commits on May 9, 2010
  1. Revert "Revert "Add index length support for MySQL [#1852 state:resol…

    lifo committed May 9, 2010
    …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
    Carl Lerche committed May 8, 2010
    …reaks the build)
    
    This reverts commit 3616141.
  2. Add index length support for MySQL [#1852 state:resolved]

    eparreno authored and lifo committed May 8, 2010
    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. Make find_or_create and find_or_initialize work mixing explicit param…

    spastorino authored and jeremy committed May 7, 2010
    …eters and a hash. ht: Marc-André Lafortune
    
    [#4457 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. simple_format should return html_safe but not escape text, that's for…

    spastorino authored and jeremy committed May 7, 2010
    … rails_xss plugin [#3767 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on May 4, 2010
  1. add support for mysql2 adapter to dbconsole

    brianmario authored and jeremy committed May 4, 2010
    [#4532 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. Use primary key in conditions, not 'id' [#4395 state:resolved]

    lifo committed May 4, 2010
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
    
    Conflicts:
    
    	activerecord/test/cases/nested_attributes_test.rb
  3. AR JSON Serializer now supports custom root option.

    rubymerchant authored and jeremy committed Apr 30, 2010
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  4. Allow pre-casted values (other than nil) to pass through from calcula…

    brianmario authored and jeremy committed May 4, 2010
    …tions un-touched
    
    [#4514 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>