Displaying 1 result from an estimated 1 matches for "person_categori".
Did you mean:
person_categories
2006 Nov 21
14
Starting from scratch
I have the following models:
===
class Person < ActiveRecord::Base
has_many :person_organisations, :dependent => true
has_many :organisations, :through => :person_organisations
has_many :person_categories, :dependent => true
has_many :categories, :through => :person_categories
end
class Category < ActiveRecord::Base
has_many :person_categories, :dependent => true
has_many :persons, :through => :person_categories
end
class Organisation < ActiveRecord::Base
has_many :docu...