search for: project_modules

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

Did you mean: project_module
2008 Nov 29
3
Yet another "NameError: uninitialized constant" problem
...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 =============== module_user_maps.rb =================== class ModuleUserMaps < ActiveRecord::Base set_table_name "module_user_map" belongs_to :user belongs_to :project_module end So I run from the script/console (same thing happens in the s...