Thanks for the reply! I got my app working by wrapping my Country model 
in a module like this MyApp::Country, and replacing all references to 
Country with MyApp::Country.

The only problem right now is that almost all my functional tests broke, 
I think because when I use the generated functions to load models from 
fixtures like 'countries(:us)', Rails tries to load it from 
Globalize::Countries. How can I tell Rails to use MyApp::Country in 
these functions, too?

Thanks!
Ingo





Ingo Weiss wrote:
> Hi,
> 
> I just installed globalize and the problem is that I have a model
> 'Country' which seems to conflict with globalize's 'Globalize::Country'
> model. Every time I use 'Country' now Rails assumes I mean
> Globalize::Country. How can I work around that?
> 
> Thanks!
> Ingo


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to