masciugo / genealogy

Make ActiveRecord model act as a pedigree
MIT License
30 stars 17 forks source link

can't be sibling of #18

Open mukeshsinghr opened 6 years ago

mukeshsinghr commented 6 years ago

How to check if the User is already in the list of sibling ?

It fails during siblings assignment when there is already User in DB as sibling. Either this case to be handled or we can give a method to check user if he has added sibling already.

Please let me know if you want more details.

masciugo commented 6 years ago

i don't understand can you show me the steps to repruduce the error in the console please? Or fork the project and create a failing test. thank you