-
-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.6.10 undefined local variable or method `translations' #259
Comments
@carlosantoniodasilva looking into this too.. |
I have this problem as well. Reverted to 0.6.9 and it's working again. |
I've just yanked the 0.6.10 version from rubygems while we figure out a fix or revert the offending commit. Meanwhile please revert back to 0.6.9. Thanks. |
Commit 12aa0f0 introduced a bug, where if `Fallbacks` module is included in a class that doesnt define `translations` the code would fail. This is a pretty common scenario, for instance when the backend is a `Chain`. Also this was pretty common case to fail in rails, as its include Fallbacks in the I18n.backend, like this: ``` I18n.backend.class.send(:include, I18n::Backend::Fallbacks) ``` This stops using the `translations` method in the fallbacks, and instead ignores `I18n::InvalidLocale` errors. [fixes ruby-i18n#238] [fixes ruby-i18n#258] [fixes ruby-i18n#259]
Can you guys try with current master and let us know whether it's working or you are still having issues? Thanks. |
0.6.11 has been released which should fix this issue, please let me know if anything goes wrong. Thanks. |
Updating to 0.6.10 seems to have broken something.
Please let me know if you need more details.
The text was updated successfully, but these errors were encountered: