Hey, a few days ago I was having a hard time splitting up my controllers in to different folders. With views you can just do: set :views, *path* in the module App
I think it would be nice if we could do the same thing for controllers, models and helpers and whatever. like: set :controllers, *path* I think that would allow for a way better structured app that is easy to manage and it looks cleaner than my (well, Magnus') solution which is: def self.add (name) filename = File.dirname(__FILE__) + '/controllers/' + name +'.rb' module_eval(File.read(filename), name) end and then having to add every controller in this case. What do you guys think? Isn't this something that we really should have after all? To me it would be a killer feature. - Isak _______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list