Skip to content
This repository

Dec 08, 2011

  1. Vijay Dev

    fix comments

    vijaydev authored
  2. Aaron Patterson

    Use a hash to look up column definitions

    tenderlove authored
  3. Aaron Patterson

    try to normalize the objects passed to column()

    tenderlove authored
  4. Aaron Patterson

    automatically add the column definition to the columns list if creati…

    …ng a new one
    tenderlove authored

Dec 07, 2011

  1. Aaron Patterson

    stop calling String#to_s so frequently

    tenderlove authored

Nov 07, 2011

  1. Akira Matsuda

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

    amatsuda authored

Nov 04, 2011

  1. Vlad Jebelev

    AR changes to support creating ordered (asc, desc) indexes

    vjebelev authored

Oct 15, 2011

  1. Mike Perham

    Default timestamps to non-null

    mperham authored

Jun 18, 2011

  1. Grant Neufeld

    Changed the default value for the options argument on ActiveRecord::C…

    …onnectionAdapters::Table#column_exists? from nil to an empty Hash {}.
    
    That method calls through to ActiveRecord::ConnectionAdapters::SchemaStatements##column_exists? 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 17, 2011

  1. Lucia Escanellas

    Update remove_index documentation

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

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
Something went wrong with that request. Please try again.