Skip to content
This repository

Jun 13, 2012

  1. Aaron Patterson

    we haven't monkey patched the Result class, so use each

    tenderlove authored

Jun 11, 2012

  1. Toshinori Kajihara

    Fix GH #3163. Should quote database on mysql/mysql2.

    Conflicts:
    
    	activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
    
    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
    	activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
    
    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb
    	activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
    	activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
    	activerecord/test/cases/adapters/mysql2/schema_test.rb
    kennyj authored tenderlove committed

Sep 09, 2011

  1. Aaron Patterson

    Exceptions from database adapters should not lose their backtrace.

    tenderlove authored

Aug 16, 2011

  1. Aaron Patterson

    prevent sql injection attacks by escaping quotes in column names

    tenderlove authored

Jun 09, 2011

  1. Brad Robertson

    modified table_exists? to always use current search_path or schema if…

    … explicitly set

May 13, 2011

  1. Aaron Patterson

    supporting infinity and -infinity for timestamps in PG. fixes #544

    tenderlove authored

May 10, 2011

  1. Aaron Patterson

    removing splat flatten as we no longer support 1.8.6. fixes #485. Tha…

    …nks @sztywny
    tenderlove authored

Apr 29, 2011

  1. José Valim

    Make postgresql faster on development (thanks to @tapajos).

    josevalim authored

Mar 21, 2011

  1. Aaron Patterson

    escaping binary data encoding when inserting to sqlite3. Thanks Narus…

    …e! [#6559 state:resolved]
    tenderlove authored
  2. Aaron Patterson

    schemas set by set_table_name are respected by the mysql adapter. [#5322

    state:resolved]
    tenderlove authored

Feb 09, 2011

  1. Ken Collins

    Allow limit values to accept an ARel SQL literal.

    metaskills authored tenderlove committed

Jan 31, 2011

  1. Aaron Patterson

    limit() should sanitize limit values

    This fixes CVE-2011-0448
    tenderlove authored NZKoz committed

Dec 29, 2010

  1. Pratik

    Make serialized fixtures work again

    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/abstract/quoting.rb
    	activerecord/test/cases/base_test.rb
    	activerecord/test/cases/quoting_test.rb
    lifo authored

Dec 09, 2010

  1. Matthew Rudy Jacobs

    Cleaner way to extract the Postgres version

    matthewrudy authored tenderlove committed
  2. Matthew Rudy Jacobs

    Fix Bug: disable_referential_integrity doesn't work for postgres 9.0.1

    matthewrudy authored tenderlove committed

Nov 24, 2010

  1. James Tucker

    Don't depend on rubygems loading thread (for Mutex)

    raggi authored tenderlove committed

Nov 18, 2010

  1. Alex Rothenberg

    Adapters can specify maximum number of ids they support in a list of …

    …expressions
    
    (default is nil meaning unlimited but Oracle imposes a limit of 1000)
    Limit is used to make multiple queries when preloading associated has_many or habtm records
    alexrothenberg authored tenderlove committed

Oct 06, 2010

  1. fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests

    Hemant Kumar authored tenderlove committed

Sep 29, 2010

  1. Aaron Patterson

    each works well too

    tenderlove authored
  2. Aaron Patterson

    no need for splat and flatten

    tenderlove authored

Sep 28, 2010

  1. Étienne Barrié

    Test add_index and remove_index with a symbol name #4891

    etiennebarrie authored tenderlove committed

Sep 27, 2010

  1. Fix issue with remove_index and add unit test [#5645 state:resolved]

    Signed-off-by: José Valim <jose.valim@gmail.com>
    Tim Connor authored josevalim committed
  2. Raise errors when index creation fails

    Signed-off-by: José Valim <jose.valim@gmail.com>
    Tim Connor authored josevalim committed

Sep 26, 2010

  1. Fix remove_index issue when provided :name is a symbol

    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    Tim Connor authored spastorino committed

Sep 24, 2010

  1. Emilio Tagua

    No need to use inject here.

    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    miloops authored spastorino committed

Sep 22, 2010

  1. Santiago Pastorino

    Missing the mysql2 gem here

    spastorino authored
  2. Neeraj Singh

    Error message should advice to use 'mysql2' gem.

    If I create a new app using command
    rails new demo -d mysql
    then Gemfile contains 'mysql2' gem by default.
    
    However if mysql gem is missing then error message says
    raise "!!! Missing the mysql gem. Add it to your Gemfile: gem 'mysql', '2.8.1'"
    
    [#5569 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    neerajdotname authored spastorino committed

Sep 19, 2010

  1. Thiago Pradi

    Exception handling more readable

    [#5601 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    tchandy authored spastorino committed

Aug 23, 2010

  1. Brian Lopez

    mysql2 adapter is being maintained in the mysql2 gem itself

    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    brianmario authored spastorino committed

Aug 20, 2010

  1. Aaron Patterson

    adding FOUND_ROWS to the connect flags for mysql2

    tenderlove authored
  2. Aaron Patterson

    updates return number of rows matched rather than number of rows affe…

    …cted
    tenderlove authored

Aug 19, 2010

  1. Aaron Patterson

    removing useless ternary

    tenderlove authored
  2. Aaron Patterson

    refactor if / else to ||=

    tenderlove authored

Aug 17, 2010

  1. Jeff-Lawson

    Bug Fix -- clean up connection after stored procedure [#3151 state:re…

    …solved]
    Jeff-Lawson authored tenderlove committed
  2. Jeff-Lawson

    Bug Fix -- clean up connection after stored procedure [#3151 state:re…

    …solved]
    Jeff-Lawson authored tenderlove committed
Something went wrong with that request. Please try again.