Displaying 1 result from an estimated 1 matches for "people_alt_people".
2005 Nov 15
0
validates_associated
I have an db table that associates two things from the same table.
people_alt_people
-----------------
person_id
alt_person_id
So my ActiveRecord looks like:
class PeopleAltPerson < ActiveRecord::Base
belongs_to :person
belongs_to :altperson, :class_name => ''Person'', :foreign_key =>
''alt_person_id''
validates_presence_of :perso...