On Wed, May 30, 2012 at 8:55 PM, Patrick J. Collins <[email protected]> wrote: > Does any one know of a way to temporarily add an entry into my en.yml > locale dynamically?
I usually do something like this in the before filter
en = { :my => { :stuff => 'things' } }
I18n.backend.store_translations(:en, en)
Cheers,
Katrina
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
