11 lines
296 B
Ruby
11 lines
296 B
Ruby
class Domain < ActiveRecord::Base
|
|
has_many :needs, :through => :domain_needs
|
|
has_many :domain_needs
|
|
|
|
has_many :customers, :through => :domain_customers
|
|
has_many :domain_customers
|
|
|
|
has_many :need_categories, :through => :domain_need_categories
|
|
has_many :domain_need_categories
|
|
end
|