Subject: CVS commit: pkgsrc/databases/ruby-activerecord32
From: Takahiro Kambe
Date: 2013-09-11 15:33:11
Message id: 20130911133311.DD08096@cvs.netbsd.org

Log Message:
Update ruby-activerecord32 to 3.2.14.

## Rails 3.2.14 (Jul 22, 2013) ##

*   Do not re-create destroyed association when saving the parent object.
    Fixes #11450.  *Paul Nikitochkin*

*   Do not shallow the original exception in `exec_cache` on PostgreSQL adapter.
    Fixes #11260.  *Rafael Mendon«®a Fran«®a*

*   Fix `ActiveRecord::Store` incorrectly tracking changes of its attributes.
    Fixes #10373.  *Janko Marohni««*

*   Fix a bug that prevented the use of the default STI inheritance column
    (ActiveRecord::Base.inheritance_column = 'some_column'.)
    *chapmajs + Takehiro Adachi*

*   Fix mysql2 adapter raises the correct exception when executing a query on a
    closed connection.  *Yves Senn*

*   Fixes bug where `Company.new.contract_ids` would incorrectly load
    all non-associated contracts.

    Example:
        company = Company.new # Company has many :contracts

        # before
        company.contract_ids # => SELECT ... WHERE `contracts`.`company_id` \ 
IS NULL

        # after
        company.contract_ids # => []

    *Jared Armstrong*

*   Fix the `:primary_key` option for `has_many` associations.
    Fixes #10693.  *Yves Senn*

*   fixes bug introduced by #3329.  Now, when autosaving associations,
    deletions happen before inserts and saves.  This prevents a 'duplicate
    unique value' database error that would occur if a record being created had
    the same value on a unique indexed field as that of a record being
    destroyed.  Backport of #10417

    *Johnny Holton*

*   Fix that under some conditions, Active Record could produce invalid SQL of
    the sort: "SELECT DISTINCT DISTINCT".  Backport of #6792.  *Ben \ 
Woosley*

*   Require `ActiveRecord::Base` in railtie hooks for rake_tasks, console and
    runner to avoid circular constant loading issues. Backport #7695.
    Fixes #7683 and #882
    *Ben Holley*

*   Maintain context for joins within ActiveRecord::Relation merges.
    Backport #10164. *Neeraj Singh + Andrew Horner*

*   Make sure the `EXPLAIN` command is never triggered by a `select_db` call.
    *Daniel Schierbeck*

*   Revert changes on `pluck` that was ignoring the select clause when the
    relation already has one. This caused a regression since it changed the
    behavior in a stable release.
    Fixes #9777.

    *Rafael Mendon«®a Fran«®a*

*   Confirm a record has not already been destroyed before decrementing
    counter cache.  *Ben Tucker*

*   Default values for PostgreSQL bigint types now get parsed and dumped to the
    schema correctly.  Backport #10098.  *Erik Peterson*

*   Removed warning when `auto_explain_threshold_in_seconds` is set and the
    connection adapter doesn't support explain.
    This is causing a regression since the Active Record Railtie is trying to
    connect to the development database in the application boot.
    *Rafael Mendon«®a Fran«®a*

*   Do not reset `inheritance_column` when it's set explicitly.
    Backport of #5327. *kennyj + Fred Wu*

*   Fix a problem wrong exception is occured
    when raising no translatable exception in PostgreSQL.  *kennyj*

*   Resets the postgres search path in the structure.sql after the structure
    is dumped in order to find schema_migrations table when multiples schemas
    are used.
    Fixes #9796.
    *Juan M. Cuello + Dembskiy Alexander*

*   Reload the association target if it's stale. `@stale_state` should be nil
    when a model isn't saved.
    Fixes #7526.
    *Larry Lv*

*   Don't read CSV files during execution of `db:fixtures:load`. CSV support for
    fixtures was removed some time ago but the task was still loading them, even
    though later the code was looking for the related yaml file instead.
    *kennyj*

Files:
RevisionActionfile
1.12modifypkgsrc/databases/ruby-activerecord32/distinfo