Report abuse
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class Fundament < ActiveRecord::Base
has_many :fundament_turms
has_many :turms, :through => :fundament_turms
end
class Turm < ActiveRecord::Base
has_many :fundament_turms
has_many :fundaments, :through => :fundament_turms
end
class FundamentTurm < ActiveRecord::Base
belongs_to :fundament
belongs_to :turm
end
|