Skip to content
This repository

Jun 20, 2011

  1. Grant Neufeld

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

    …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.
    grantneufeld authored

Jun 18, 2011

  1. Lucia Escanellas

    Update remove_index documentation

    * Changes should better reflect present code behavior
    * Related to issue: #1624
    raviolicode authored fxn committed

May 04, 2011

  1. Sebastian Martinez

    Fixes on schema_definitions docs

May 02, 2011

  1. Sebastian Martinez

    fixed-fonts on SchemaDefinitions

Feb 01, 2011

  1. Aaron Patterson

    moving AR::ConnectionAdapters::Column to its own file

    tenderlove authored
  2. Aaron Patterson

    column will use coder to typecase value when it is available

    tenderlove authored
  3. Aaron Patterson

    coders can be assigned to columns

    tenderlove authored
  4. Aaron Patterson

    dry up our case / when statements

    tenderlove authored

Jan 31, 2011

  1. Aaron Patterson

    expand mulasgn for enhancing readability

    tenderlove authored

Jan 29, 2011

  1. Aaron Patterson

    always return the identity function from type_cast_code

    tenderlove authored
  2. Aaron Patterson

    use an identity conversion to avoid conditional codes

    tenderlove authored

Oct 12, 2010

  1. Aaron Patterson

    all columns respond to string_to_binary, so no need to check respond_to?

    tenderlove authored

Sep 29, 2010

  1. Aaron Patterson

    eliminating method_missing on TableDefinition

    tenderlove authored

Aug 14, 2010

  1. Santiago Pastorino

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

    …ec sed 's/[ \t]*$//' -i {} \;)
    spastorino authored

Aug 13, 2010

  1. Prem Sichanugrist

    Removing most of the symbol to proc usage in Active Record

    This will hopefully make Active Record run a bit more faster.
    sikachu authored tenderlove committed

Aug 04, 2010

  1. Xavier Noria

    standarizes the use of the article "an" for "SQL" and "SQLite"

    fxn authored

Aug 02, 2010

  1. Neeraj Singh

    ensuring that description does not exceed 100 columns

    neerajdotname authored

Jun 25, 2010

  1. Andrew White

    Add column and index query methods to ActiveRecord::Schema

    [#4219 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    pixeltrix authored josevalim committed

May 14, 2010

  1. Neeraj Singh

    Better code formatting and proper line numbers for stack traces

    [#4596 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    neerajdotname authored jeremy committed

May 09, 2010

  1. Pratik

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

    This reverts commit 6626833.
    lifo authored

May 08, 2010

  1. José Valim

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

    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.
    josevalim authored
  2. Emili Parreño

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

    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>
    eparreno authored lifo committed

Mar 31, 2010

  1. Ernie Miller

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

    Signed-off-by: Emilio Tagua <miloops@gmail.com>
    ernie authored miloops committed

Mar 28, 2010

  1. Xavier Noria

    adds missing requires for Object#blank? and Object#present?

    fxn authored

Mar 27, 2010

  1. José Valim

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

    To reproduce, start a new application, create a scaffold and run test suite. [#876 state:open]
    
    This reverts commit faeca69.
    josevalim authored
  2. Rizwan Reza

    primary_key now supports :limit for MySQL

    Signed-off-by: wycats <wycats@gmail.com>
    rizwanreza authored wycats committed
  3. José Valim

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

    … it broke AR test suite.
    
    This reverts commit 41e5c7e.
    josevalim authored
  4. Rizwan Reza

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

    Signed-off-by: wycats <wycats@gmail.com>
    rizwanreza authored wycats committed

Feb 28, 2010

  1. José Valim

    ActiveRecord should raise an error on invalid migration types.

    josevalim authored

Jan 16, 2010

  1. Pratik

    Revert "Fix #microseconds conversion and #fast_string_to_time"

    This reverts commit 717a294. Bunch of failures when running postgresql tests.
    lifo authored
  2. Chris Hapgood

    Fix #microseconds conversion and #fast_string_to_time

    * 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>
    cch1 authored NZKoz committed

Aug 10, 2009

  1. Leonardo Borges

    PostgreSQL: XML datatype support

    [#1874 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    leonardoborges authored jeremy committed

Aug 06, 2009

  1. Akira Matsuda

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

    … since Ruby 1.9.2
    
    [#2959 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    amatsuda authored jeremy committed

Aug 05, 2009

  1. Geoff Buesing

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

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

Aug 04, 2009

  1. mattganderup

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

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