Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 18, 2010
  1. @jeremy

    Revert "Don't carry default value when changing column for a binary t…

    jeremy authored
    …ype on MySQL"
    
    Broke mysql tests.
    
    This reverts commit ddadcc7.
    
    Conflicts:
    
    	activerecord/test/cases/migration_test.rb
    
    [#3234 state:open]
  2. @etiennebarrie @jeremy

    make add_index and remove_index more resilient; new rename_index meth…

    etiennebarrie authored jeremy committed
    …od; track database limits
    
    [#3452 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on May 17, 2010
  1. @josevalim
Commits on May 16, 2010
  1. @josevalim

    Don't carry default value when changing column for a binary type on M…

    Elomar França authored josevalim committed
    …ySQL [#3234 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on May 12, 2010
  1. @lifo
Commits on May 9, 2010
  1. @lifo

    Revert "Revert "Add index length support for MySQL [#1852 state:resol…

    lifo authored
    …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 authored
    …reaks the build)
    
    This reverts commit 3616141.
  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 May 4, 2010
  1. @lifo
Commits on Apr 24, 2010
  1. @jeremy

    Remove quoted_string_prefix entirely since PostgreSQL was the only da…

    jeremy authored
    …tabase adapter relying on it.
  2. @jeremy
  3. @jeremy
  4. @libc @jeremy

    PostgreSQL adapter: escape_bytea, quote_string and unescape_bytea are…

    libc authored jeremy committed
    …n't thread-safe in Ruby 1.8 [#3237 state:resolved]
    
    Signed-off-by: wycats <wycats@gmail.com>
Commits on Apr 9, 2010
  1. @spastorino @josevalim

    fix stack trace lines on class_eval

    spastorino authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Apr 6, 2010
  1. @Savar @NZKoz

    remove_index now uses quote_table_name() [#4300 state:resolved]

    Savar authored NZKoz committed
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
Commits on Mar 30, 2010
  1. @NZKoz

    Fixed a bug where create_table could not be called without a block [#…

    Joseph Wilk authored NZKoz committed
    …2221 state:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Jan 8, 2010
  1. @jeremy

    Allow AR::Schema's migrations_path to be overwritten by subclasses. D…

    Jeffrey Hardy authored jeremy committed
    …efaults to 'db/migrate'
    
    [#3671 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Dec 4, 2009
  1. @bmarini @jeremy

    Add support for Mysql column positioning via #add_column and #change_…

    bmarini authored jeremy committed
    …column
    
    add_column and change_column in the Mysql adapter now accept some
    additional options:
    :first => true        # Put the column in front of all the columns
    :after => column_name # Put the colmn after 'column_name'
    
    add_column :new_col, :string, :first => true
    add_column :another_col, :integer, :default => 0, :after => :new_col
    
    [#3286 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Sep 17, 2009
  1. @m4dc4p @jeremy

    Enable use of MySQL stored procedures by default.

    m4dc4p authored jeremy committed
    [#3204 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Sep 13, 2009
  1. @sdsykes @jeremy

    Ruby 1.9 compat: corrected instance_methods check

    sdsykes authored jeremy committed
    [#3156 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 17, 2009
  1. @lifo
Commits on Aug 10, 2009
  1. @jeremy

    Use table prefix and suffix for schema_migrations index.

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

    PostgreSQL: XML datatype support

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

    raises exception (ActiveRecord::ConfigurationError with message) on h…

    bellmyer authored jeremy committed
    …abtm association creation if join table contains a primary key
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  4. @jeremy

    Fix that creating a table whose primary key prefix type is :table_nam…

    Morgan Schweers authored jeremy committed
    …e generates an incorrectly pluralized primary key.
    
    [#872 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  5. @rubymerchant @jeremy

    AR should respect default values for MySQL BINARY and VARBINARY columns.

    rubymerchant authored jeremy committed
    [#1273 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 9, 2009
  1. @tristandunn @jeremy

    No longer require database name for MySQL to allow cross database sel…

    tristandunn authored jeremy committed
    …ects.
    
    [#1122 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. @wr0ngway @lifo

    Allow connect_timeout, read_timeout and write_timeout settings for My…

    wr0ngway authored lifo committed
    …SQL [#2544 state:resolved]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
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 2, 2009
  1. @jeremy
Commits on Jun 9, 2009
  1. @libc @NZKoz

    PostgreSQL adapter should call thread safe quote_string function

    libc authored NZKoz committed
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
  2. @jeremy
Commits on Apr 21, 2009
  1. @maxlapshin @lifo

    Fixed dumping from postgresql columns in index in wrong order. [#2515

    maxlapshin authored lifo committed
    …state:resolved]
    
    Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
  2. @woods @lifo

    Quote table names when casting to regclass so that capitalized tables…

    woods authored lifo committed
    … are supported. [#2418 state:resolved]
    
    Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
  3. @maxlapshin @lifo

    Fixed wrong quoting of index names in postgres [#2402 state:resolved]

    maxlapshin authored lifo committed
    Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
Something went wrong with that request. Please try again.