diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-12-12 09:35:16 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-12-12 09:35:16 +0000 |
commit | 65a961c4e74ca56f50468f1194e0d080169ce04a (patch) | |
tree | ba66a27a4268365267a03c73293e248f1b3aeb60 /lib/i18n_fixes.rb | |
parent | 2c9288e5cc7eb0209f185018134ec6e3ebb91eda (diff) | |
parent | 7538075754a3fbd4fa4a11ca1374203d2463f8d3 (diff) |
Merge branch 'feature/interpolation-fixes' into rails-3-develop
Diffstat (limited to 'lib/i18n_fixes.rb')
-rw-r--r-- | lib/i18n_fixes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/i18n_fixes.rb b/lib/i18n_fixes.rb index 9f0849e75..64c370477 100644 --- a/lib/i18n_fixes.rb +++ b/lib/i18n_fixes.rb @@ -35,7 +35,7 @@ def gettext_interpolate(string, values) pattern, key = $1, $1.to_sym if !values.include?(key) - raise I18n::MissingInterpolationArgument.new(pattern, string) + raise I18n::MissingInterpolationArgument.new(pattern, string, values) else v = values[key].to_s if safe && !v.html_safe? |