rails 2.3.8 bug
I18n defines a Locale module, This messes up the access to the plugin's Locale Class... All the methods the are called from the Database instance like available_locales fails because they are trying to reach Locale module instead of the Locale class
Hello! Is this a new addition to the I18n implementation? I haven't run this gem against the 2.3.8 yet, so it would be great to know. Is it something you could simply add name-spacing too, or reference directly (::)?
yes i am referring to the new I18n implementation, this problem could easily be fixed by changing the Locale class name and than the plugin works like a charm. The thing is that it still doesn't support Chaining which is really nice and probably some other cool stuff the new I18n offers... i think that if your plugin could use the built-in I18n ActiveRecord's backend (I18n::Backend::ActiveRecord) as the gate to the database and extend it with all the cool features your plugin offers it will be great, i assume that if you implement it this way it will work with all I18n features and support rails 3 once it's released.
@uyshmuely, I have the same issue, but i don't understand your "path". Can you explain your change ? thks.
which issue are you referring to? Chaining or the Locale module problem?
I'm seeing this in 2.3.5 as well.
The problem I18n::Backend::Database refer Locale from I18n::Locale While it should refer Locale from ActiveRecord::Base::Locale
I've also seen this issue, which I fixed by changing a lot of references in database.rb to the above mentioned ActiveRecord::Base::Locale.