Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 18, 2013
  1. @cconstantine

    Fix loading of fixtures when the column type is a postgres array of s…

    cconstantine authored
     - A string in an array of strings that has a quote char (') needs to have that quote char escaped if the array is getting wrapped in quote chars.
Commits on Mar 25, 2013
  1. @rafaelfranca

    Fix typo

    rafaelfranca authored
  2. @rafaelfranca
  3. @MSch
  4. @MSch
Commits on Mar 22, 2013
  1. @tenderlove
Commits on Mar 12, 2013
  1. @strzalek

    Cast number to string in Postgres

    strzalek authored
    fixes #9170
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
    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 syntax), so the fix
    requires always including the full table.column and discarding it later
    for Sqlite and Postgresql.
Commits on Jan 23, 2013
  1. @slbug
Commits on Dec 16, 2012
  1. @le0pard
Commits on Nov 21, 2012
  1. @bogdan
Commits on Oct 14, 2012
  1. @IPGlider
Commits on Sep 14, 2012
  1. @danmcclain

    Moves column dump specific code to a module included in AbstractAdapter

    danmcclain authored
    Having column related schema dumper code in the AbstractAdapter. The
    code remains the same, but by placing it in the AbstractAdapter, we can
    then overwrite it with Adapter specific methods that will help with
    Adapter specific data types.
    The goal of moving this code here is to create a new migration key for
    PostgreSQL's array type. Since any datatype can be an array, the goal is
    to have ':array => true' as a migration option, turning the datatype
    into an array. I've implemented this in postgres_ext, the syntax is
    shown here:
    Adds array migration support
    Adds array_test.rb outlining the test cases for array data type
    Adds pg_array_parser to Gemfile for testing
    Adds pg_array_parser to postgresql_adapter (unused in this commit)
    Adds schema dump support for arrays
    Adds postgres array type casting support
    Updates changelog, adds note for inet and cidr support, which I forgot to add before
    Removing debugger, Adds pg_array_parser to JRuby platform
    Removes pg_array_parser requirement, creates ArrayParser module used by
Commits on Sep 9, 2012
  1. @vijaydev

    indent fix [ci skip]

    vijaydev authored
Commits on Sep 6, 2012
  1. @guedes

    ActiveRecord support to PostgreSQL 9.2 JSON type

    guedes authored
    This implements the support to encode/decode JSON
    data to/from database and creating columns of type
    JSON using a native type [1] supported by PostgreSQL
    from version 9.2.
Commits on Sep 5, 2012
  1. @etehtsea

    Modularize postgresql adapter

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