[Rails] Re: Rails fails to find models in subfolders

2010-05-07 Thread Andy Joel
Thanks for the reply On Thu, May 6, 2010 at 6:58 AM, Andy Joel li...@ruby-forum.com wrote: I have my models and controllers set up in sub-folders, so, for example, sample.rb is in app/models/sample_log, and samples_controller.rb is in app/controllers/sample_log. The controllers are defined to

[Rails] Re: Rails fails to find models in subfolders

2010-05-07 Thread Andy Joel
I still do not know exactly what was happening (and would be interested to know), however... I did think that maybe the problem is that I have models that inherit from Sample and/or that I have controllers/models referencing constants in other models, and it is this that is confusing Rails.

Re: [Rails] Re: Rails fails to find models in subfolders

2010-05-07 Thread Rick DeNatale
On Fri, May 7, 2010 at 3:26 AM, Andy Joel li...@ruby-forum.com wrote: Thanks for the reply On Thu, May 6, 2010 at 6:58 AM, Andy Joel li...@ruby-forum.com wrote: I have my models and controllers set up in sub-folders, so, for example, sample.rb is in app/models/sample_log, and