search for: projectmodul

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

Did you mean: projectmodule
2008 Nov 29
3
Yet another "NameError: uninitialized constant" problem
...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 has_many :module_user_maps, :dependent =&...