This project is archived and is in readonly mode.

#1044 ✓resolved
Sven Fuchs

I18n: move old-style interpolation syntax deprecation to activerecord

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

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.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>


Referenced by