From: "Rafael Mendonça França" Date: 2013-07-13T15:42:02+09:00 Subject: Re: [ANN] Rails 3.2.14.rc1 has been released! ------=_Part_9471_3615089.1373675913550 Content-Type: multipart/alternative; boundary="----=_Part_9472_25294687.1373675913550" ------=_Part_9472_25294687.1373675913550 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The right release date will be Monday, on July 15, 2013 On Friday, July 12, 2013 9:33:00 PM UTC-3, Rafael Mendon=C3=A7a Fran=C3=A7a= wrote: > > Hi everyone, > > I am happy to announce that Rails 3.2.14.rc1 has been released. If no=20 > regressions are found I will release 3.2.14 final final this Thursday, on= =20 > July 11, 2013. If you find one, please [Open an Issue on GitHub]( > https://github.com/rails/rails/issues/new) and mention me on it, so that= =20 > I can fix it before the final release. > > ## CHANGES since 3.2.13 > > *Action Mailer* > > No changes. > > *Action Pack* > > * Merge `:action` from routing scope and assign endpoint if both=20 > `:controller` > and `:action` are present. The endpoint assignment only occurs if=20 > there is > no `:to` present in the options hash so should only affect routes=20 > using the > shorthand syntax (i.e. endpoint is inferred from the the path). > > Fixes #9856 > > *Yves Senn*, *Andrew White* > > * Always escape the result of `link_to_unless` method. > > Before: > > link_to_unless(true, 'Showing', 'github.com') > # =3D> "Showing" > > After: > > link_to_unless(true, 'Showing', 'github.com') > # =3D> "<b>Showing</b>" > > *dtaniwaki* > > * Use a case insensitive URI Regexp for #asset_path. > > This fix a problem where the same asset path using different case are= =20 > generating > different URIs. > > Before: > > image_tag("HTTP://google.com") > # =3D> "3D\"Google\"" > image_tag("http://google.com") > # =3D> "3D\"Google\"" > > After: > > image_tag("HTTP://google.com") > # =3D> "3D\"Google\"" > image_tag("http://google.com") > # =3D> "3D\"Google\"" > > *David Celis + Rafael Mendon=C3=A7a Fran=C3=A7a* > > * Fix explicit names on multiple file fields. If a file field tag has > the multiple option, it is turned into an array field (appending `[]`= ), > but if an explicit name is passed to `file_field` the `[]` is not > appended. > Fixes #9830. > > *Ryan McGeary* > > * Fix assets loading performance in 3.2.13. > > Issue #8756 uses Sprockets for resolving files that already exist on= =20 > disk, > for those files their extensions don't need to be rewritten. > > Fixes #9803. > > *Fred Wu* > > * Fix `ActionController#action_missing` not being called. > Fixes #9799. > > *Janko Luin* > > * `ActionView::Helpers::NumberHelper#number_to_human` returns the numbe= r=20 > unaltered when > the units hash does not contain the needed key, e.g. when the number= =20 > provided is less > than the largest key provided. > > Examples: > > number_to_human(123, units: {}) # =3D> 123 > number_to_human(123, units: { thousand: 'k' }) # =3D> 123 > > Fixes #9269. > Backport #9347. > > *Michael Hoffman* > > * Include I18n locale fallbacks in view lookup. > Fixes GH#3512. > > *Juan Barreneche* > > * Fix `ActionDispatch::Request#formats` when the Accept request-header= =20 > is an > empty string. Fix #7774 [Backport #8977, #9541] > > *Soylent + Maxime R=C3=A9ty* > > *Active Model* > > No changes. > > *Active Record* > > * Do not shallow the original exception in `exec_cache` on PostgreSQL= =20 > adapter. > > Fixes #11260. > > *Rafael Mendon=C3=A7a Fran=C3=A7a* > > * Fix `ActiveRecord::Store` incorrectly tracking changes of its=20 > attributes. > Fixes #10373. > > *Janko Marohni=C4=87* > > * Fix a bug that prevented the use of the default STI inheritance colum= n > (ActiveRecord::Base.inheritance_column =3D 'some_column'.) > > *chapmajs + Takehiro Adachi* > > * Fix mysql2 adapter raises the correct exception when executing a quer= y=20 > on a > closed connection. > > *Yves Senn* > > * Fixes bug where `Company.new.contract_ids` would incorrectly load > all non-associated contracts. > > Example: > > company =3D Company.new # Company has many :contracts > > # before > company.contract_ids # =3D> SELECT ... WHERE=20 > `contracts`.`company_id` IS NULL > > # after > company.contract_ids # =3D> [] > > *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 'duplicat= e > unique value' database error that would occur if a record being=20 > created had > the same value on a unique indexed field as that of a record being=20 > destroyed. > > Backport of #10417 > > *Johnny Holton* > > * Fix that under some conditions, Active Record could produce invalid= =20 > SQL of the sort: > "SELECT DISTINCT DISTINCT". > > Backport of #6792. > > *Ben Woosley* > > * Require `ActiveRecord::Base` in railtie hooks for rake_tasks, console= =20 > 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`= =20 > call. > > *Daniel Schierbeck* > > * Revert changes on `pluck` that was ignoring the select clause when th= e=20 > relation already > has one. This caused a regression since it changed the behavior in a= =20 > stable release. > > Fixes #9777. > > *Rafael Mendon=C3=A7a Fran=C3=A7a* > > * Confirm a record has not already been destroyed before decrementing= =20 > counter cache. > > *Ben Tucker* > > * Default values for PostgreSQL bigint types now get parsed and dumped= =20 > to the > schema correctly. > Backport #10098. > > *Erik Peterson* > > * Removed warning when `auto_explain_threshold_in_seconds` is set and t= he > connection adapter doesn't support explain. > This is causing a regression since the Active Record Railtie is tryin= g=20 > to > connect to the development database in the application boot. > > *Rafael Mendon=C3=A7a Fran=C3=A7a* > > * 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=20 > structure > is dumped in order to find schema_migrations table when multiples=20 > schemas > are used. > Fixes #9796. > > *Juan M. Cuello + Dembskiy Alexander* > > * Reload the association target if it's stale. `@stale_state` should be= =20 > nil > when a model isn't saved. > Fixes #7526. > > *Larry Lv* > > * Don't read CSV files during execution of `db:fixtures:load`. CSV=20 > support for > fixtures was removed some time ago but the task was still loading=20 > them, even > though later the code was looking for the related yaml file instead. > > *kennyj* > > *Active Resource* > > * Fixes an issue that ActiveResource models ignores=20 > ActiveResource::Base.include_root_in_json. > Backported from the now separate repo rails/activeresouce. > > *Xinjiang Lu* > > *Active Support* > > * Make `Time.at_with_coercion` retain the second fraction and return=20 > local time. > > Fixes #11350 > > *Neer Friedman*, *Andrew White* > > * Fix `ActiveSupport::TaggedLogging` incorrectly providing program name= =20 > the same as log message > even when block is not provided. > > *Carson Reinke* > > * Override `Time.at` to support the passing of Time-like values when=20 > called with a single argument. > > *Andrew White* > > * Revert the changes on unicode character encoding from=20 > `ActiveSupport::JSON.encode`. > This was causing a regression where the resulting string is always=20 > returning UTF-8. > Also it changes the behavior of this method on a stable release. > Fixes #9498. > > *Rafael Mendon=C3=A7a Fran=C3=A7a* > > * Fix `ActiveSupport::TimeZone.parse` when time is at a local DST jump. > Fixes #9678. > > *Andrew White* > > *Railties* > > * Fix bugs that crashed `rake test:benchmark`, `rails profiler` and > `rails benchmarker`. > Fixes #4938. > Backport rails/rails-perftest#2. > > *Dmitry Vorotilin + Yves Senn* > > * Add support for runner hook. > > Backport #7695. > > *Ben Holley* > > * Fixes bug with scaffold generator with `--assets=3Dfalse=20 > --resource-route=3Dfalse`. > Fixes #9525. > > *Arun Agrawal* > > *Full listing* > > To see the full list of changes, [check out all the commits on GitHub]( > https://github.com/rails/rails/compare/v3.2.13...v3.2.14.rc1). > > ## SHA-1 > > If you'd like to verify that your gem is the same as the one I've=20 > uploaded, please use these SHA-1 hashes: > > * 1b8d20d39c9c5bb2fa56c835fe564bfcf6f55c66 actionmailer-3.2.14.rc1.gem > * ccf1df0c3daa92e5e72ec11f3399167e16d2a48f actionpack-3.2.14.rc1.gem > * 263cbf1ce202095f92648171c6be92eca85837e0 activemodel-3.2.14.rc1.gem > * 51de13da5e9c9c9ccdd7f7bd4c2bfb3e1dd3dbb1 activerecord-3.2.14.rc1.gem > * da709adcc9f56364e0d697ea10e4acc9af48068a activeresource-3.2.14.rc1.gem > * e45cd0115705514d00b1be917f06092af389fe5d activesupport-3.2.14.rc1.gem > * 9fd0569cdee1ca0ab7b170f1c40c6c48304ec29e rails-3.2.14.rc1.gem > * a2d485229708af4cdbbdaef72ef6f756fb1b1341 railties-3.2.14.rc1.gem > > Thank you everyone! > > Rafael Mendon=C3=A7a Fran=C3=A7a > http://twitter.com/rafaelfranca > https://github.com/rafaelfranca > =20 ------=_Part_9472_25294687.1373675913550 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable The right release date will be Monday, on July 15, 2013

On Frid= ay, July 12, 2013 9:33:00 PM UTC-3, Rafael Mendon=C3=A7a Fran=C3=A7a wrote:=
Hi every= one,

I am happy to announce that Rails 3.2.14.rc1 = has been released. If no regressions are found I will release 3.2.14 final = final this Thursday, on July 11, 2013. If you find one, please [Open an Iss= ue on GitHub](https://github.com/rails/rails/issues/new) and mention= me on it, so that I can fix it before the final release.

## CHANGES since 3.2.13

*Actio= n Mailer*

No changes.

*Ac= tion Pack*

*   Merge `:action` from routing s= cope and assign endpoint if both `:controller`
    and `:action` are present. The endpoint assignment only = occurs if there is
    no `:to` present in the options = hash so should only affect routes using the
    shortha= nd syntax (i.e. endpoint is inferred from the the path).

    Fixes #9856

&nbs= p;   *Yves Senn*, *Andrew White*

*   Alw= ays escape the result of `link_to_unless` method.

=     Before:

        link_to_unless(true, '<b>S= howing</b>', 'github.= com')
        # =3D> "<b>Showing= </b>"

    After:

      &nb= sp; link_to_unless(true, '<b>Showing</b>', 'github.com')
     = ;   # =3D> "&lt;b&gt;Showing&lt;/b&gt;"

    *dtaniwaki*

* &n= bsp; Use a case insensitive URI Regexp for #asset_path.

    This fix a problem where the same asset path using diff= erent case are generating
    different URIs.

    B= efore:

        image_tag("HTTP://google.com")
        # =3D> "<img alt=3D\"Google\" src=3D\"= /assets/HTTP://google.= com\" />"
        image_tag("http://google.com")
      &nb= sp; # =3D> "<img alt=3D\"Google\" src=3D\"http://google.com\" />"

    After:

  &n= bsp;     image_tag("HTTP://google.com")
        # =3D> = "<img alt=3D\"Google\" src=3D\"HTTP://google.com\" />"
        image_tag("http://google.com")
      &nb= sp; # =3D> "<img alt=3D\"Google\" src=3D\"http://google.com\" />"

    *David Celis + Rafael Mendon=C3=A7a Fran= =C3=A7a*

*   Fix explicit names on multiple f= ile fields. If a file field tag has
    the multiple op= tion, it is turned into an array field (appending `[]`),
    but if an explicit name is passed to `file_field` the `[= ]` is not
    appended.
    Fixes #= 9830.

    *Ryan McGeary*

<= /div>
*   Fix assets loading performance in 3.2.13.

    Issue #8756 uses Sprockets for resolving = files that already exist on disk,
    for those files t= heir extensions don't need to be rewritten.

 =   Fixes #9803.

    *Fred Wu*

* &nbs= p; Fix `ActionController#action_missing` not being called.
&= nbsp;   Fixes #9799.

    *Janko Lui= n*

*   `ActionView::Helpers::NumberHelpe= r#number_to_human` returns the number unaltered when
    the units hash does not contain the needed key, e.g. whe= n the number provided is less
    than the largest key = provided.

    Examples:

        number_to_human(123, units: {})  =              # =3D> 123
        number_to_human(123, units: { thousand: 'k= ' }) # =3D> 123

    Fixes #9269.
    Backport #9347.

    = *Michael Hoffman*

*   Include I18n locale fallbacks in view lookup.
  &nb= sp; Fixes GH#3512.

    *Juan Barreneche*=

*   Fix `ActionDispatch::Request#format= s` when the Accept request-header is an
    empty string. Fix #7774 [Backport #8977, #9541]

    *Soylent + Maxime R=C3=A9ty*

<= /div>
*Active Model*

No changes.
*Active Record*

*   Do not shallow the original exception in `exec= _cache` on PostgreSQL adapter.

    Fixes= #11260.

    *Rafael Mendon=C3=A7a Fran= =C3=A7a*

*   Fix `ActiveRecord::Store` incorrectly tracking changes of its attr= ibutes.
    Fixes #10373.

&nbs= p;   *Janko Marohni=C4=87*

*   Fix a bug= that prevented the use of the default STI inheritance column
    (ActiveRecord::Base.inheritance_column =3D 'some_co= lumn'.)

    *chapmajs + Takehiro Adachi*=

*   Fix mysql2 adapter raises the correct ex= ception when executing a query on a
    closed connection.

   = ; *Yves Senn*

*   Fixes bug where `Company.ne= w.contract_ids` would incorrectly load
    all non-asso= ciated contracts.

    Example:

    &n= bsp;   company =3D Company.new # Company has many :contracts

        # before
   = ;     company.contract_ids # =3D> SELECT ... WHERE `contracts`= .`company_id` IS NULL

        # after
  &n= bsp;     company.contract_ids # =3D> []

    *Jared Armstrong*

*   Fix th= e `:primary_key` option for `has_many` associations.
    Fixes #10693.

    *Yv= es Senn*

*   fixes bug introduced by #3329. &= nbsp;Now, when autosaving associations,
    deletions h= appen before inserts and saves.  This prevents a 'duplicate
    unique value' database error that would occur if a recor= d being created had
    the same value on a unique inde= xed field as that of a record being destroyed.

&nb= sp;   Backport of #10417

    *Johnny Holton*

= *   Fix that under some conditions, Active Record could produce invali= d SQL of the sort:
    "SELECT DISTINCT DISTINCT".

    Backport of #6792.

   = ; *Ben Woosley*

*   Require `ActiveRecord::Ba= se` 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 wi= thin ActiveRecord::Relation merges.
    Backport #10164.

    = *Neeraj Singh + Andrew Horner*

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

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

    Fixes #9777.

  &= nbsp; *Rafael Mendon=C3=A7a Fran=C3=A7a*

*   = 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
&nb= sp;   schema correctly.
    Backport #10098.
=

    *Erik Peterson*

*   Removed warning when `auto_explain_threshold_i= n_seconds` is set and the
    connection adapter d= oesn't support explain.
    This is causing a regressio= n since the Active Record Railtie is trying to
    connect to the development database in the application b= oot.

    *Rafael Mendon=C3=A7a Fran=C3= =A7a*

*   Do not reset `inheritance_column` w= hen it's set explicitly.
    Backport of #5327.

   = ; *kennyj + Fred Wu*

*   Fix a problem wrong = exception is occured
    when raising no translatable e= xception in PostgreSQL.

    *kennyj*

*   Res= ets 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. `@s= tale_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 stil= l loading them, even
    though later the code was look= ing for the related yaml file instead.

  &nbs= p; *kennyj*

*Active Resource*

*   Fixes an iss= ue that ActiveResource models ignores ActiveResource::Base.include_roo= t_in_json.
    Backported from the now separate repo ra= ils/activeresouce.

    *Xinjiang Lu*

*A= ctive Support*

*   Make `Time.at_with_coercio= n` retain the second fraction and return local time.

    Fixes #11350

    *Neer Friedman*, *Andrew White*

*   Fix `ActiveSupport::TaggedLogging` incorrectly pro= viding program name the same as log message
    even wh= en block is not provided.

    *Carson Reinke*

= *   Override `Time.at` to support the passing of Time-like values when= called with a single argument.

    *And= rew White*

*   Revert the changes on unicode character encoding fr= om `ActiveSupport::JSON.encode`.
    This was causing a= regression where the resulting string is always returning UTF-8.
    Also it changes the behavior of this method on a stable rele= ase.
    Fixes #9498.

    *Raf= ael Mendon=C3=A7a Fran=C3=A7a*

*   Fix `Activ= eSupport::TimeZone.parse` when time is at a local DST jump.
=     Fixes #9678.

    *Andrew White*

*Railties*
=

*   Fix bugs that crashed `rake test:benchmark`, `= rails profiler` and
    `rails benchmarker`.
=     Fixes #4938.
    Backport rails/rails-perftest#2.

    *Dmitry Vorotilin + Yves Senn*

* &= nbsp; Add support for runner hook.

    B= ackport #7695.

    *Ben Holley*

*   Fixes bug= with scaffold generator with `--assets=3Dfalse --resource-route=3Dfalse`.<= /div>
    Fixes #9525.

   = *Arun Agrawal*

*Full listing*

To see the full list of change= s, [check out all the commits on GitHub](https://github.com= /rails/rails/compare/v3.2.13...v3.2.14.rc1).

## SHA-1

If you'd like to veri= fy that your gem is the same as the one I've uploaded, please use these SHA= -1 hashes:

* 1b8d20d39c9c5bb2fa56c835fe564bfc= f6f55c66  actionmailer-3.2.14.rc1.gem
* ccf1df0c3daa92e5e72ec11f3399167e16d2a48f  actionpack-3.2.1= 4.rc1.gem
* 263cbf1ce202095f92648171c6be92eca85837e0  a= ctivemodel-3.2.14.rc1.gem
* 51de13da5e9c9c9ccdd7f7bd4c2bfb3e= 1dd3dbb1  activerecord-3.2.14.rc1.gem
* da709adcc9f56364e0d697ea10e4acc9af48068a  activeresource-3= .2.14.rc1.gem
* e45cd0115705514d00b1be917f06092af389fe5d &nb= sp;activesupport-3.2.14.rc1.gem
* 9fd0569cdee1ca0ab7b170f1c40c6c<= wbr>48304ec29e  rails-3.2.14.rc1.gem
* a2d485229708af4cdbbdaef72ef6f756fb1b1341  railties-3.2.14.= rc1.gem

Thank you everyone!

Rafael Mendon=C3=A7a Fran=C3=A7a
http://twitter.com/rafaelfranca
https://githu= b.com/rafaelfranca
------=_Part_9472_25294687.1373675913550-- ------=_Part_9471_3615089.1373675913550--