search for: module_user_maps

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

2008 Nov 29
3
Yet another "NameError: uninitialized constant" problem
...eserved 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 => :delete_all has_many :project_modules, :through => :module_user_maps end =======...