Frederick Cheung wrote: > On Oct 16, 10:27�am, Florian D�tsch <[EMAIL PROTECTED]> > wrote: >> Does anybody know why? >> Is it a bug? >> > There's some funkyness to do with the automatic loading and namespaces > (see > http://groups.google.com/group/rubyonrails-core/browse_thread/thread/17e9e5e564e8ea64/def2cec288984fa3?lnk=gst&q=const_missing#def2cec288984fa3) > You may be able to sidestep this by just using require_dependency to > require stuff ahead of time > > Fred Hi Fred!
A "require_dependency 'review/comment'" on review/thing.rb solved the problem! Do you agree when I say it is a hack? Is ActiveRecord's namespace support as bad? Thanks, der Flo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---