Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

I18n: move old-style interpolation syntax deprecation to activerecord

#1044

The I18n gem library as shipped with Rails locally patches I18n::Backend::Simple#interpolation in order to deprecate the old-style interpolation syntax (using %d and %s) as previously used in ActiveRecord validations.

The attached patch makes this explicit and moves the patching behaviour from the I18n library to ActiveRecord which is the library that requires the deprecation.

Reported by Sven Fuchs · September 14th, 2008 @ 12:45 PM

State: resolved
Milestone: none
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. Michael Koziarski
  2. Repository
    Repository
    • State changed from new to resolved
    • Tag changed from activerecord, activesupport, i18n, patch to activerecord, activesupport, i18n, patch

    (from [8cb7d460439a9b20a80a77b6370c1107233d1cbd]) I18n: move old-style interpolation syntax deprecation to Active Record. [#1044 I18n: move old-style interpolation syntax deprecation to activerecord state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    September 20th, 2008 @ 07:27 PM