Skip to content
Commits on Feb 27, 2013
  1. @steveklabnik

    Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric"

    steveklabnik committed Feb 27, 2013
    This reverts commit 408227d, reversing
    changes made to dca0b57.
Commits on Feb 7, 2013
  1. @dylanahsmith
Commits on Jan 27, 2013
  1. @carlosantoniodasilva
  2. @derekkraan @jonleighton

    Fix cases where delete_records on a has_many association caused errors

    derekkraan committed with jonleighton Jan 14, 2013
    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 Jul 5, 2012
  1. fix quoting for ActiveSupport::Duration instances

    Francesco Rodriguez committed Jul 4, 2012
    This patch fixes quoting for ActiveSupport::Duration instances:
    
        # before
        >> ActiveRecord::Base.connection.quote 30.minutes
        => "'--- 1800\n...\n'"
    
        # after
        >> ActiveRecord::Base.connection.quote 30.minutes
        => "1800"
    
    Also, adds a test for type casting ActiveSupport::Duration instances.
    
    Related to #1119.
Commits on Mar 10, 2012
  1. @rroblak
Commits on Jan 23, 2012
  1. @rafaelfranca
Commits on Jan 20, 2012
  1. @stephencelis
Commits on Sep 6, 2011
  1. @jonleighton
Commits on Apr 14, 2011
  1. @tenderlove
  2. @tenderlove
Commits on Apr 13, 2011
  1. @tenderlove
Commits on Dec 29, 2010
  1. @lifo

    Make serialized fixtures work again

    lifo committed Dec 29, 2010
Commits on Oct 12, 2010
  1. @tenderlove

    dry up column type testing

    tenderlove committed Oct 12, 2010
  2. @tenderlove
  3. @tenderlove
  4. @tenderlove
  5. @tenderlove
  6. @tenderlove
  7. @tenderlove
  8. @tenderlove
Commits on Aug 4, 2010
  1. @spastorino

    query value is converted to_s instead of to_yaml

    RainerBlessing committed with spastorino Aug 3, 2010
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Apr 24, 2010
  1. @jeremy

    Remove quoted_string_prefix entirely since PostgreSQL was the only da…

    jeremy committed Apr 24, 2010
    …tabase adapter relying on it.
Commits on Aug 4, 2009
  1. @gbuesing

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

    gbuesing committed Aug 3, 2009
    …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]
Commits on May 13, 2009
  1. @jeremy

    Cherry-pick core extensions

    jeremy committed May 13, 2009
Commits on Oct 16, 2007
  1. @jeremy

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

    jeremy committed Oct 16, 2007
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Aug 16, 2007
  1. @NZKoz

    Improve performance and functionality of the postgresql adapter. Closes

    NZKoz committed Aug 16, 2007
    #8049 [roderickvd]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 28, 2007
  1. @jeremy

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

    jeremy committed Jan 28, 2007
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 15, 2007
  1. @jamis

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

    jamis committed Jan 15, 2007
    …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
Commits on Nov 20, 2006
  1. @jeremy

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

    jeremy committed Nov 20, 2006
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 27, 2006
  1. @jamis
Commits on Jul 8, 2006
  1. @jeremy

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

    jeremy committed Jul 8, 2006
     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
Commits on Jun 1, 2006
  1. @jeremy

    Records and arrays of records are bound as quoted ids.

    jeremy committed Jun 1, 2006
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 25, 2006
  1. @dhh

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

    dhh committed Mar 25, 2006
    …DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 7, 2005
  1. Add option (true by default) to generate reader methods for each attr…

    Marcel Molina committed Oct 7, 2005
    …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
Something went wrong with that request. Please try again.