search for: project_module

Displaying 1 result from an estimated 1 matches for "project_module".

2008 Nov 29
3
Yet another "NameError: uninitialized constant" problem
...responding files in app/models directory. It appears that I could not use "module" as the model name because that is a reserved word in rails, so I had to prepend "project_" to the "module" names. This might be where I messed up, I don''t know. =============== project_module.rb =================== class ProjectModule < ActiveRecord::Base set_table_name "module" has_many :module_user_maps, :dependent => :delete_all has_many :users, :through => :module_user_maps end =============== user.rb =================== class User < ActiveRecord::Base...