I have 2 tables:
people (id, name)
children (id, parents_id, child_id)
parents_id = people.id and child_id = people_id also
So how I make a relationships in Rails?
And how can all search:
Children.find(:all, :conditions => ["parents.name LIKE ‘Clin%’ ??? Or
And what if I want to add new child. Parents name is in people table,
but childs not, so how I do?