Skip to content
  • Daniel Mack's avatar
    Person: nilify gender field if set to empty · 3d47218e
    Daniel Mack authored
    For useful stats, it's important not to have a mixture of nil and "" in the
    gender field of Person objects. Use an before_save callback to make sure we
    always have nil instead of "".
    3d47218e