This project is archived and is in readonly mode.
Error message I18n interpolation
Reported by Alistair Holt | July 25th, 2009 @ 04:11 PM | in 2.x
From looking through the docs and source it seems that Rails is supposed to support interpolation of the translated model name, translated attribute name and the value.
"This is a custom blank message for {{model}}: {{attribute}}" should work but only {{model}} is working at the moment. Try to use {{attribute}} or {{value}} and a I18n::MissingInterpolationArgument exception gets raised with a message along the lines of "interpolation argument attribute missing.."
Comments and changes to this ticket
-
Alistair Holt July 25th, 2009 @ 05:14 PM
This ticket is invalid. My mistake. I was using the live-validations plugin which hadn't implemented this.
-
CancelProfileIsBroken July 25th, 2009 @ 07:39 PM
- State changed from new to invalid
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>