Skip to content
This repository

Jan 23, 2012

  1. Rafael Mendonça França

    Only show the type if column is present

    rafaelfranca authored

Jan 20, 2012

  1. Stephen Celis

    Don't type-cast unknown types to YAML.

    stephencelis authored

Sep 06, 2011

  1. Jon Leighton

    Make the logic easier to read

    jonleighton authored

Apr 14, 2011

  1. Aaron Patterson

    inserting big decimals as strings works consistently among dbs, so us…

    …e string form
    tenderlove authored
  2. Aaron Patterson

    adding a type cast method for prepared statements

    tenderlove authored

Apr 13, 2011

  1. Aaron Patterson

    do not depend on to_yaml being called, but rather depend on YAML bein…

    …g dumped
    tenderlove authored

Dec 29, 2010

  1. Pratik

    Make serialized fixtures work again

    lifo authored

Oct 12, 2010

  1. Aaron Patterson

    dry up column type testing

    tenderlove authored
  2. Aaron Patterson

    all columns respond to string_to_binary, so no need to check respond_to?

    tenderlove authored
  3. Aaron Patterson

    drying up true and false cases

    tenderlove authored
  4. Aaron Patterson

    reducing comparisons in when statements

    tenderlove authored
  5. Aaron Patterson

    removing intermediate variables

    tenderlove authored
  6. Aaron Patterson

    reduce the number of times we test for the column variable

    tenderlove authored
  7. Aaron Patterson

    refactoring date / time / datetime when statement

    tenderlove authored
  8. Aaron Patterson

    fixing case / when indentation

    tenderlove authored

Aug 04, 2010

  1. Rainer Blessing

    query value is converted to_s instead of to_yaml

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

Apr 24, 2010

  1. Jeremy Kemper

    Remove quoted_string_prefix entirely since PostgreSQL was the only da…

    …tabase adapter relying on it.
    jeremy authored

Aug 04, 2009

  1. Geoff Buesing

    quoted_date converts time-like objects to ActiveRecord::Base.default_…

    …timezone before serialization. This allows you to use Time.now in find conditions and have it correctly be serialized as the current time in UTC when default_timezone == :utc [#2946 state:resolved]
    gbuesing authored

May 13, 2009

  1. Jeremy Kemper

    Cherry-pick core extensions

    jeremy authored

Oct 16, 2007

  1. Jeremy Kemper

    Quote table names. Defaults to column quoting. Closes #4593.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Aug 16, 2007

  1. Michael Koziarski

    Improve performance and functionality of the postgresql adapter. Closes

    #8049 [roderickvd]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Jan 28, 2007

  1. Jeremy Kemper

    Use Date#to_s(:db) for quoted dates. Closes #7411.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Jan 15, 2007

  1. Jamis Buck

    be like a duck. Let's not rely on explicit classes, so we can pass pr…

    …oxy objects around and have them interpreted correctly by ActiveRecord's serialization routines
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jamis authored

Nov 20, 2006

  1. Jeremy Kemper

    Quote ActiveSupport::Multibyte::Chars. Closes #6653.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Jul 27, 2006

  1. Jamis Buck

    Patch sql injection vulnerability when using integer or float columns.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jamis authored

Jul 08, 2006

  1. Jeremy Kemper

    r4704@asus: jeremy | 2006-06-27 12:00:19 -0700

     decimal
     r4705@asus:  jeremy | 2006-06-27 12:20:47 -0700
     current_adapter? checks whether any of its arguments is the name of the current adapter class
     r4834@asus:  jeremy | 2006-07-08 13:08:24 -0700
     Room to float.
     r4835@asus:  jeremy | 2006-07-08 13:09:18 -0700
     Give lock test a few chances.
     r4836@asus:  jeremy | 2006-07-08 13:12:05 -0700
     Numeric and decimal columns map to BigDecimal instead of Float. Those with scale 0 map to Integer. Closes #5454.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Jun 01, 2006

  1. Jeremy Kemper

    Records and arrays of records are bound as quoted ids.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Mar 25, 2006

  1. David Heinemeier Hansson

    Fixed db_schema_import when binary types are present (closes #3101) […

    …DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Oct 07, 2005

  1. Add option (true by default) to generate reader methods for each attr…

    …ibute of a record to avoid the overhead of calling method missing. In partial fullfilment of #1236.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Oct 06, 2005

  1. Michael Koziarski

    Quote booleans according the rules defined by the adapter

    * SQLite schema has been updated
    * Postgresql schema needs to be fixed too
    Simplify AR::Base#toggle to store the boolean, not the quoted value
    * expand the tests
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Sep 27, 2005

  1. Add extensive documentation to the ActiveRecord::AbstractAdapter. #2250

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Sep 25, 2005

  1. David Heinemeier Hansson

    Refactored the AbstractAdapter to be a lot less scary. Cleaned up the…

    … docs and style for the OSS adapters
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored
Something went wrong with that request. Please try again.