diff options
author | Sven Fuchs <svenfuchs@artweb-design.de> | 2010-11-14 18:46:40 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-12-04 18:00:52 +0100 |
commit | 896e25e994e272a1cb485d9a850501b488992cb2 (patch) | |
tree | 2d62d3c9d06836600b55ec000f3a166ef5c236a5 /activerecord/lib/active_record/attribute_methods/before_type_cast.rb | |
parent | 7ffd5daa7fe1fd805fd071d40dfad1773299c7d1 (diff) | |
download | rails-896e25e994e272a1cb485d9a850501b488992cb2.tar.gz rails-896e25e994e272a1cb485d9a850501b488992cb2.tar.bz2 rails-896e25e994e272a1cb485d9a850501b488992cb2.zip |
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>
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/before_type_cast.rb')
0 files changed, 0 insertions, 0 deletions