Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Make our dirty patch work with i18n 0.4.2. #6784

Contributed by Felix Schäfer
  • Loading branch information...
commit 00ef3004120035095c9cd11aba65ebd648160fe6 1 parent 30dc4fe
@thegcat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/initializers/10-patches.rb
2  config/initializers/10-patches.rb
@@ -84,7 +84,7 @@ module AsynchronousMailer
module I18n
module Backend
module Base
- def warn_syntax_deprecation!
+ def warn_syntax_deprecation!(locale = nil, string = nil)
return if @skip_syntax_deprecation
warn "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.\nDowngrade your i18n gem to 0.3.7 (everything above must be deinstalled) to remove this warning, see for more information."
@skip_syntax_deprecation = true

0 comments on commit 00ef300

Please sign in to comment.
Something went wrong with that request. Please try again.