Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 24, 2013
  1. @rafaelfranca

    Do not type cast all the database url values.

    rafaelfranca authored
    We should only type cast when we need to use.
    
    Related to 4b005fb
Commits on Feb 20, 2013
  1. @senny

    also rename indexes when a table or column is renamed

    senny authored
    When a table or a column is renamed related indexes kept their name. This will lead to confusing names. This patch renames related indexes when a column or a table is renamed. Only indexes with names generated by rails will be renamed. Indexes with custom names will not be renamed.
  2. @senny
  3. @senny

    reserve index name chars for internal rails operations

    senny authored
    Some adapter (SQLite3) need to perform renaming operations to support
    the rails DDL. These rename prefixes operate with prefixes. When an
    index name already uses up the full space provieded by
    `index_name_length` these internal operations will fail. This patch
    introduces `allowed_index_name_length` which respects the amount of
    characters used for internal operations. It will always be <=
    `index_name_length` and every adapter can define how many characters
    need to be reserved.
Commits on Feb 15, 2013
  1. @jonleighton

    Remove valid_type? method

    jonleighton authored
    It was supposed to be removed by the preceding two reversions but I did
    them in the wrong order.
  2. @jonleighton

    Revert "Make valid_type? public"

    jonleighton authored
    This reverts commit 5d528f8.
    
    Relates to f8c8ad5 which is also getting reverted due to failing test.
Commits on Feb 14, 2013
  1. @rubys

    Make valid_type? public

    rubys authored
Commits on Feb 12, 2013
  1. @tenderlove

    Merge pull request #9204 from ranjaykrishna/col-prob

    tenderlove authored
    schema dumper tests now conducted by ActiveRecord::Base.Connection
  2. @ranjaykrishna
Commits on Jan 27, 2013
  1. @derekkraan @jonleighton

    Fix cases where delete_records on a has_many association caused errors

    derekkraan authored jonleighton committed
    because of an ambiguous column name. This happened if the association
    model had a default scope that referenced a third table, and the third
    table also referenced the original table (with an identical
    foreign_key).
    
    Mysql requires that ambiguous columns are deambiguated by using the full
    table.column syntax. Postgresql and Sqlite use a different syntax for
    updates altogether (and don't tolerate table.name syntax), so the fix
    requires always including the full table.column and discarding it later
    for Sqlite and Postgresql.
Commits on Dec 21, 2012
  1. @marcandre
Commits on Dec 19, 2012
  1. @senny

    Keep index names when using with sqlite3

    senny authored senny committed
Commits on Oct 28, 2012
  1. @frodsan

    SQLite3Adapter#type_cast should not mutate arguments

    Stefan Rusterholz authored frodsan committed
  2. @senny
Commits on Sep 28, 2012
  1. @jonleighton

    Support for partial inserts.

    jonleighton authored
    When inserting new records, only the fields which have been changed
    from the defaults will actually be included in the INSERT statement.
    The other fields will be populated by the database.
    
    This is more efficient, and also means that it will be safe to
    remove database columns without getting subsequent errors in running
    app processes (so long as the code in those processes doesn't
    contain any references to the removed column).
Commits on Sep 15, 2012
  1. @kennyj
Commits on Sep 14, 2012
  1. @jonleighton
Commits on Aug 17, 2012
  1. @tenderlove
Commits on Jun 25, 2012
  1. @drogus

    Revert "Merge pull request #6344"

    drogus authored
    This commit needs to be reverted because it introduces difficulties when
    using sqlite3 in development and other databases in production. This
    happens because when you create time column in sqlite3, it's dumped as
    datetime in schema.rb file.
    
    This reverts commit 57d534e, reversing
    changes made to 20f049f.
    
    Conflicts:
    
    	activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
Commits on May 18, 2012
  1. @kennyj

    Fix logs name consistency.

    kennyj authored
Commits on May 16, 2012
  1. @drogus

    Merge pull request #6344 from erichmenge/patch_sqlite_time_type

    drogus authored
    SQLite3 doesn't actually support the 'time' type.
  2. @oscardelben
  3. SQLite3 doesn't actually support the 'time' type.

    Erich Menge authored
Commits on May 15, 2012
  1. @carlosgaldino
Commits on May 14, 2012
  1. @scally
Commits on May 2, 2012
  1. @ebeigarts

    Refactored remove_column

    ebeigarts authored
Commits on Apr 27, 2012
  1. @aderyabin
  2. @aderyabin
  3. @aderyabin

    fix SQLite3Adapter doc

    aderyabin authored
  4. @aderyabin
  5. @aderyabin
Commits on Apr 26, 2012
  1. @aderyabin

    EXPLAIN only for sqlite3

    aderyabin authored
Commits on Dec 28, 2011
  1. @jonleighton

    Support establishing connection on ActiveRecord::Model.

    jonleighton authored
    This is the 'top level' connection, inherited by any models that include
    ActiveRecord::Model or inherit from ActiveRecord::Base.
Commits on Dec 24, 2011
  1. @jonleighton

    I herd you like modules.

    jonleighton authored
Commits on Dec 7, 2011
  1. @tenderlove
Something went wrong with that request. Please try again.