Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 8, 2011
  1. @amatsuda @vijaydev

    self.up, self.down => up, down

    amatsuda committed with vijaydev
Commits on Jun 20, 2011
  1. @grantneufeld

    Fix default options argument on ActiveRecord::ConnectionAdaptors::Tab…

    grantneufeld committed
    Changed the default value for the `options` argument on `ActiveRecord::ConnectionAdapters::Table#column_exists?` from `nil` to an empty Hash `{}`.
    That method calls through to `ActiveRecord::ConnectionAdapters::SchemaStatements#column_exists?` which expects `options` to be a Hash.
    When `options` was `nil`, an error would occur in cases where the column did exist because the called method attempted to perform a key lookup on options.
Commits on Jun 18, 2011
  1. @raviolicode @fxn

    Update remove_index documentation

    raviolicode committed with fxn
    * Changes should better reflect present code behavior
    * Related to issue: #1624
Commits on May 4, 2011
  1. @smartinez87
Commits on May 2, 2011
  1. @smartinez87
Commits on Feb 1, 2011
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove
  4. @tenderlove
Commits on Jan 31, 2011
  1. @tenderlove
Commits on Jan 29, 2011
  1. @tenderlove
  2. @tenderlove
Commits on Oct 12, 2010
  1. @tenderlove
Commits on Sep 29, 2010
  1. @tenderlove
Commits on Aug 14, 2010
  1. @spastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino committed
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Aug 13, 2010
  1. @sikachu @tenderlove

    Removing most of the symbol to proc usage in Active Record

    sikachu committed with tenderlove
    This will hopefully make Active Record run a bit more faster.
Commits on Aug 4, 2010
  1. @fxn
Commits on Aug 2, 2010
  1. @neerajdotname
Commits on Jun 25, 2010
  1. @pixeltrix @josevalim

    Add column and index query methods to ActiveRecord::Schema

    pixeltrix committed with josevalim
    [#4219 state:resolved]
    Signed-off-by: José Valim <>
Commits on May 14, 2010
  1. @neerajdotname @jeremy

    Better code formatting and proper line numbers for stack traces

    neerajdotname committed with jeremy
    [#4596 state:resolved]
    Signed-off-by: Jeremy Kemper <>
Commits on May 9, 2010
  1. @lifo
Commits on May 8, 2010
  1. @josevalim

    Revert "Add index length support for MySQL [#1852 state:open]"

    josevalim committed
    This commit breaks dumping a few tables, as the sessions table.
    To reproduce, just create a new application and:
      rake db:sessions:create
      rake db:migrate
      rake db:test:prepare
    And then look at the db/schema.rb file (ht: Sam Ruby).
    This reverts commit 5b95730.
  2. @eparreno @lifo

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

    eparreno committed with lifo
      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 <>
Commits on Mar 31, 2010
  1. @ernie @miloops

    Fix mapping of bigint/smallint/uuid columns in postgresql adapter.

    ernie committed with miloops
    Signed-off-by: Emilio Tagua <>
Commits on Mar 28, 2010
  1. @fxn
Commits on Mar 27, 2010
  1. @josevalim

    Revert "primary_key now supports :limit for MySQL". Break Sam Ruby app.

    josevalim committed
    To reproduce, start a new application, create a scaffold and run test suite. [#876 state:open]
    This reverts commit faeca69.
  2. @rizwanreza @wycats

    primary_key now supports :limit for MySQL

    rizwanreza committed with wycats
    Signed-off-by: wycats <>
  3. @josevalim

    Revert "primary_key now supports :limit. [#876 state:resolved]" since…

    josevalim committed
    … it broke AR test suite.
    This reverts commit 41e5c7e.
  4. @rizwanreza @wycats

    primary_key now supports :limit. [#876 state:resolved]

    rizwanreza committed with wycats
    Signed-off-by: wycats <>
Commits on Feb 28, 2010
  1. @josevalim
Commits on Jan 16, 2010
  1. @lifo

    Revert "Fix #microseconds conversion and #fast_string_to_time"

    lifo committed
    This reverts commit 717a294. Bunch of failures when running postgresql tests.
  2. @cch1 @NZKoz

    Fix #microseconds conversion and #fast_string_to_time

    cch1 committed with NZKoz
    * Use direct integer parsing in #fast_string_to_time to avoid convoluted
       conversions and errors due to truncation.
     * Use Float#round in #microseconds to avoid truncation errors.
    Signed-off-by: Michael Koziarski <>
Commits on Aug 10, 2009
  1. @leonardoborges @jeremy

    PostgreSQL: XML datatype support

    leonardoborges committed with jeremy
    [#1874 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Aug 6, 2009
  1. @amatsuda @jeremy

    Ruby 1.9.2 compat: Array#* uses to_str instead of to_s to join values…

    amatsuda committed with jeremy
    … since Ruby 1.9.2
    [#2959 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Aug 5, 2009
  1. @gbuesing

    Revert "fallback_string_to_date sets Date._parse comp arg to true, so…

    gbuesing committed
    … that strings with two-digit years, e.g. '1/1/09', are interpreted as modern years" [#2019 state:wontfix]
    This reverts commit 55d1d12.
Something went wrong with that request. Please try again.