> Ah, don't forget to do require_dependency rather than require (or > else you're half bypassing the rails dependency system and odd things > can happen). Worth also sticking some breakpoints in AS::Dependencies > to check that your file is being handled properly.
Hey, that was it! Ok, now I understand the dependency loading voodoo little bit better :) Thanks Fred. adam. > > Fred > > > > > > > Am I doing it right? > > > adam. > > > > Fred > > > > > - adding unloadable to the Foo::Base module > > > > - moving the include line (ActiveRecord::Base.send(:include, ...) into > > > > config/initializers/foo.rb > > > > > But nothing helps :( > > > > > Any help will be appreciated. Thanks. > > > > > adam. -- 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 [email protected]. 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.

