Ingo Weiss wrote: > 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.
Hi, I am experiencing the same problem and havn't figured out yet how to point a *belongs_to* to the *moduled* model. The obvious approach ... module MyApp class Country < ActiveRecord::Base end end class Person belongs_to :country, :class_name => 'MyApp::Country' end ... sadly doesn't work. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Railsi18n-discussion mailing list Railsi18n-discussion@rubyforge.org http://rubyforge.org/mailman/listinfo/railsi18n-discussion