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

Dec 05, 2011

  1. Aaron Patterson

    Quitoting the table name before querying.

    tenderlove authored
  2. Jade Rubick

    Speed up table_exists? for databases with a large number of tables

    At New Relic, we have hundreds of thousands of tables, and our migrations took 30 minutes without this similar patch. This cuts it down to a more reasonable amount of time.
    
    The rescue false part is ugly, but necessary as far as I can tell. I don't know of a cross-database statement you can make that will work without trapping errors.
    jadeforrest authored

Nov 29, 2011

  1. Aaron Patterson

    push synchronization in to each method. Reduces method calls and makes

    it clear which methods are synchronized.
    tenderlove authored
  2. Aaron Patterson

    Automatic closure of connections in threads is deprecated. For example

    the following code is deprecated:
    
    Thread.new { Post.find(1) }.join
    
    It should be changed to close the database connection at the end of
    the thread:
    
    Thread.new {
      Post.find(1)
      Post.connection.close
    }.join
    
    Only people who spawn threads in their application code need to worry
    about this change.
    tenderlove authored
  3. Aaron Patterson

    AbstractAdapter#close can be called to add the connection back to the

    pool.
    tenderlove authored
  4. Aaron Patterson

    Start implementing @reserved_connections in terms of connection leases.

    tenderlove authored
  5. Aaron Patterson

    Rename `checked_out` to more descriptive `active_connections`

    tenderlove authored
  6. Aaron Patterson

    Use connection lease to determine "checked_out" connections

    tenderlove authored
  7. Jon Leighton

    Deprecate set_primary_key in favour of self.primary_key=

    jonleighton authored
  8. Aaron Patterson

    respond_to? information of AR is not the responsibility of the spec

    resolver.
    tenderlove authored

Nov 28, 2011

  1. Aaron Patterson

    remove unused instance variable

    tenderlove authored
  2. Aaron Patterson

    just check in all connections

    tenderlove authored
  3. Aaron Patterson

    Move connection resoluion logic to it's own testable class.

    tenderlove authored
  4. Aaron Patterson

    clean up string => hash conversion for connection pool

    tenderlove authored
  5. Aaron Patterson

    pools are 1:1 with spec now rather than 1:1 with class

    tenderlove authored
  6. Aaron Patterson

    break establish_connection to smaller methods

    tenderlove authored

Nov 20, 2011

  1. Aaron Patterson

    oops! I suck! :bomb:

    tenderlove authored
  2. Aaron Patterson

    pushing caching and visitors down to the connection

    tenderlove authored

Nov 17, 2011

  1. Aaron Patterson

    Revert "Merge pull request #1163 from amatsuda/sexier_migration_31"

    This reverts commit 0e407a9, reversing
    changes made to 533a9f8.
    
    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
    	activerecord/test/cases/migration_test.rb
    tenderlove authored
  2. Aaron Patterson

    Revert "Merge pull request #3603 from vijaydev/change_table_without_b…

    …lock_arg"
    
    This reverts commit 81fad6a, reversing
    changes made to 23101de.
    
    Conflicts:
    
    	activerecord/test/cases/migration_test.rb
    tenderlove authored

Nov 16, 2011

  1. Aaron Patterson

    Adding a deprecation warning for use of the schema_info table.

    tenderlove authored

Nov 13, 2011

  1. Noé Froidevaux

    Fix pull request #3609

    noefroidevaux authored

Nov 11, 2011

  1. Noé Froidevaux

    Prevent multiple SHOW TABLES calls when a table don't exists in datab…

    …ase.
    noefroidevaux authored

Nov 10, 2011

  1. Vijay Dev

    Modify change_table to remove the need for the block argument.

    vijaydev authored
  2. Vijay Dev

    Checking the arity of the block passed to create_table

    A recent change made to create_table does away with the
    need for the block argument. Checking the arity will prevent the
    mixing up of the two syntaxes.
    vijaydev 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
  2. Aaron Patterson

    Merge pull request #1163 from amatsuda/sexier_migration_31

    Sexier migrations
    tenderlove authored

Oct 31, 2011

  1. Laust Rud Jacobsen

    dump_schema_information: explicitly order inserts into schema_migrati…

    …ons table
    
    This change reduces churn in the db/development_structure.sql file when using :sql as
    active_record.schema_format, and makes comparing diffs much easier.
    
    Test ensures the output SQL-statements are lexically ordered by version.
    rud authored

Oct 15, 2011

  1. Mike Perham

    Default timestamps to non-null

    mperham authored
Something went wrong with that request. Please try again.