search for: input_control

Displaying 2 results from an estimated 2 matches for "input_control".

Did you mean: inputcontrol
2006 May 24
0
Routes recognition problem
Hiall, I have two modules for my controllers containing the following files /app/controllers/admin/new_controller.rb /app/controllers/admin/list_controller.rb /app/controllers/admin/sidebar_controller /app/controllers/community/input_controller.rb /app/controllers/community/sidebar_controller.rb Each of those controllers is declared with the appropriate module like so class Admin::NewController < ApplicationController # ... end class Admin::ListController < ApplicationController # ... end class Admin::SidebarController &l...
2006 Apr 17
0
One model class per file?
...a lot of tables in my db (something above 300) and it seems to me rails wants each model class in its own file? I come to this conclusion because of the error message i get, when i pack more than one of my model classes in one file. It says: This error occured while loading the following files: input_controller.rb => model general_data.rb general_data.rb web_ca_user_sandbox_base.rb All those *.rb files rails is trying to load, correspond to the model classes I created following the naming conventions. Is there any way to tell rails NOT to search for a model class in its own file? Or am...