This project is archived and is in readonly mode.
Changeset [5b8dbb0eee0a3277ef51e4bf31555ef27410272f] by John Firebaugh
March 31st, 2011 @ 06:21 AM
Support both conventions for translations for namespaced models.
3.0.0 - 3.0.1 required 'namespace/model'
3.0.2 - 3.0.5 required 'namespace.model' (nested). It has the
advantage of
keeping the i18n file DRY when multiple models are in the same
namespace,
but can lead to translation key conflicts if models are nested
within
models.
[#6448, #5572] https://github.com/rails/rails/commit/5b8dbb0eee0a3277ef51e4bf31555...
Committed by John Firebaugh
- M activemodel/lib/active_model/naming.rb
- M activemodel/lib/active_model/translation.rb
- M activemodel/test/cases/translation_test.rb
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>