lib/ibandit.rb in ibandit-1.14.0 vs lib/ibandit.rb in ibandit-1.15.0
- old
+ new
@@ -35,9 +35,9 @@
permitted_classes: [Range, Symbol],
)
end
def translate(key, options = {})
- I18n.translate(key, scope: [:ibandit], **options)
+ I18n.translate(key, scope: [:ibandit], **options.merge(raise: true))
end
end
end