You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently spouses method is just checking if there is any children with the spouse or not. In case no children then its omitting the spouse.
Say for eg.
User has added current spouse but has no children yet. When he checks spouses method it returns no result. If user checks using current_spouse method then it shows a result.
I believe we should consider current_spouse as well for spouses.
Currently
spouses
method is just checking if there is any children with the spouse or not. In case no children then its omitting the spouse.Say for eg.
User has added current spouse but has no children yet. When he checks spouses method it returns no result. If user checks using
current_spouse
method then it shows a result.I believe we should consider
current_spouse
as well for spouses.Ref: https://github.com/masciugo/genealogy/blob/master/lib/genealogy/query_methods.rb#L63
The text was updated successfully, but these errors were encountered: