Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 20, 2011
  1. @grantneufeld

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

    grantneufeld authored
    …le#column_exists?
    
    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 authored fxn committed
    * 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 authored
    …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 authored tenderlove committed
    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 authored josevalim committed
    [#4219 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on May 14, 2010
  1. @neerajdotname @jeremy

    Better code formatting and proper line numbers for stack traces

    neerajdotname authored jeremy committed
    [#4596 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
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 authored
    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 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 Mar 31, 2010
  1. @ernie @miloops

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

    ernie authored miloops committed
    Signed-off-by: Emilio Tagua <miloops@gmail.com>
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 authored
    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 authored wycats committed
    Signed-off-by: wycats <wycats@gmail.com>
  3. @josevalim

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

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

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

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

    Revert "Fix #microseconds conversion and #fast_string_to_time"

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

    Fix #microseconds conversion and #fast_string_to_time

    cch1 authored NZKoz committed
    * 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 <michael@koziarski.com>
Commits on Aug 10, 2009
  1. @leonardoborges @jeremy

    PostgreSQL: XML datatype support

    leonardoborges authored jeremy committed
    [#1874 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
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 authored jeremy committed
    … since Ruby 1.9.2
    
    [#2959 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 5, 2009
  1. @gbuesing

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

    gbuesing authored
    … that strings with two-digit years, e.g. '1/1/09', are interpreted as modern years" [#2019 state:wontfix]
    
    This reverts commit 55d1d12.
Commits on Aug 4, 2009
  1. @mattganderup @gbuesing

    fallback_string_to_date sets Date._parse comp arg to true, so that st…

    mattganderup authored gbuesing committed
    …rings with two-digit years, e.g. '1/1/09', are interpreted as modern years [#2019 state:resolved]
Something went wrong with that request. Please try again.