Sha256: 92114db920156b92bded6b62fc96f7dccd24128ab1ae12cace8b72e6f02e6b9b
Contents?: true
Size: 295 Bytes
Versions: 20
Compression:
Stored size: 295 Bytes
Contents
if %w(development test).include? Rails.env unless ENV['I18N'] == 0 module I18n def self.just_raise_that_exception(exception, key, locale, options) raise [exception, key].inspect if locale == 'en' end end I18n.exception_handler = :just_raise_that_exception end end
Version data entries
20 entries across 20 versions & 2 rubygems