masciugo / genealogy

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

Current_spouse option #23

Closed gokily closed 4 years ago

gokily commented 5 years ago

Hey, thank you for this gem, really helpful for my project. There is a small mistake in the error message raised by the current_spouse option defined in the private method raise_unless_current_spouse_enabled. The message should be

Spouse tracking not enabled. Enable it with option 'current_spouse: true' for has_parents method}

instead of

Spouse tracking not enabled. Enable it with option 'current_spouse_enabled: true' for has_parents method}

Cheers