Topic: config.load_paths

Hi
  As a part of rearranging the code I put my reports in the folder app/models/reports and loaded that using config.load_paths Is there any  performance issue in doing this? Is this the right approach? or I have to put all the files in reports to app/models  so to avoid
config.load_paths #{folder} I expect your valuable comments

Thanks

Re: config.load_paths

Hi

  For more clarification, what I am asking is creating subdiretories  under app/models and load_them using config.load_paths .. Is this  creates any performance issue?

Re: config.load_paths

They get automatically loaded. You don't need to change load_paths etc.

Only thing you need to change is a namespace.
e.g. if your model is reports/text.rb then the class name needs to be Reports::Text

Re: config.load_paths

Hi
   Thanks for your reply