It is a typo, I am using autoload_paths. I will file a bug after reproducing it in a simpler setup
-kb On Oct 23, 2:39 am, Xavier Noria <[email protected]> wrote: > On Sat, Oct 23, 2010 at 6:59 AM, Kandada Boggu <[email protected]> > wrote: > > I have two models: User and Manager. I use STI to inherit `Manager` > > from `User` model. > > > app/models/user.rb > > > class User < ActiveRecord::Base > > end > > > custom_lib/models/manager.rb > > > class Manager < User > > end > > > I have added the models in the custom directory to load path as > > follows: > > > config/environment.rb > > > config.autoload_path += File.join(RAILS_ROOT, "custom_lib", "models") > > The option is called "autoload_paths", guess the singular is a typo in > the mail right? > > In that case, please try to reproduce it in a minimal application, > file a ticket with it, and assign it to me. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en.
