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.

Changeset [896e25e994e272a1cb485d9a850501b488992cb2] by Sven Fuchs

Revision 896e25e994e272a1cb485d9a850501b488992cb2, committed by Sven Fuchs · December 4th, 2010 @ 05:00 PM

Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0

Don't catch exceptions here. Instead only declare that we want exceptions to be rescued as :html, but also let users configure reactions to exceptions in I18n.

Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/896e25e994e272a1cb485d9a85050...

7 changed files

  • A actionpack/test/fixtures/translations/templates/array.erb
  • A actionpack/test/fixtures/translations/templates/found.erb
  • A actionpack/test/fixtures/translations/templates/missing.erb
  • R actionpack/test/fixtures/test/scoped_translation.erb
  • R actionpack/test/fixtures/test/translation.erb
  • M actionpack/lib/action_view/helpers/translation_helper.rb
  • M actionpack/test/template/translation_helper_test.rb