Displaying 2 results from an estimated 2 matches for "general_data".
2006 Apr 17
0
One model class per file?
...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 I
simply not getting something :-)...
2006 May 24
0
Routes recognition problem
...map.connect '':controller/:action/:id''
NOW:
All actions for controller ''admin/new'' are found
webca/admin/new/consultant WORKS
webca/admin/new/webca WORKS
However,the following routes DO NOT WORK (although they are "the same" imo)
webca/community/input/general_data DOESN''T WORK
webca/community/input/administration DOESN''T WORK
The urls for ''admin/xxx'' controllers even work using the lower
priority route :controller/:action/:id as expected. The urls for
''community/input'' controller don''t even work...