On 10/27/05, Paul <paul.marsh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hey all, I am running Rails 0.14.2 on Apache + fastcgi on Windows XP
> and it seems any time I have the following :
>
> Foo < ActiveRecord::Base
> Bar < Foo
> Goog < Bar
>
> And I go to create a new Goog it complains of uninitialized constant Bar
>
> RAILS_ROOT:
C:/apachefriends/radrails/workspace/oss-version-0.0.1/public/../config/..
>
> Not sure why, but this is kind of a big problem for my application.
> Any help would be GREATLY appreciated.
>
> Thanks,
> Paul
I suppose that you must add a line to your application controller:
class ApplicationController < ActionController::Base
model :bar
end