-
Notifications
You must be signed in to change notification settings - Fork 13
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
lib/locale_rails/i18n.rb:28:in supported_locales=': undefined method
set_app_language_tags' for I18n::Locale:Module (NoMethodError)
#2
Comments
Apparently the issue is that a I18n::Locale module was created (somewhere, who knows!) and Locale in I18n finds that instead of ::Locale. It seems replacing Locale with ::Locale fixes this issue. |
Kind of fixed it here: http://github.com/pupeno/locale_rails/commit/6f6cd97432254cd8d3364c1be5e187433132ca19 There was one test I couldn't get to pass, but I wasn't sure if it was passing before. |
I have fixed that test here: Setting I18n.locale was failing with rails-2.3.8 because way of storing locale in the thread was changed. |
Masao, can we get a release of this gem with this fix? |
Sorry for late. I applied your patches. |
There is a failing test now. My patches, which fix that failing test, were not pulled |
I applied all your patch.(I've not test it yet by myself). |
All tests pass now, can you release a new gem compatible with rails 2.3.8? |
In my code I have this line to set up the locales:
which recently started to generate this error:
Probably I updated something, but I'm not sure what as I haven't been working on this project for the past week or so.
The text was updated successfully, but these errors were encountered: