-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Other" as a third option for gender #3815
Comments
Can i contribute with this feature? |
@gabrielbaldao Sure, go ahead! 😄 Regarding statistics, one possible implementation would be to show statistics for the genders defined in the database 🤔. This way they would work on every CONSUL installation, no matter which genders are defined. |
Thanks @javierm, looking here I was wondering about change this |
The enumerize gem looks interesting 😄. We might add it in the future if it simplifies the code a lot, but for now I'd try to implement this feature without adding a new dependency. We try not to add too many extra dependencies so we don't end up with hundreds of gems in our Gemfile, making it even harder to keep them up to date. Regarding the places to display the information, maybe we could start by adding an "other" gender to budgets/polls stats when there are users with other genders in the database: |
Right, I agree with this, for this I sayed about do in another pr, but I was having problems to find this page. |
@gabrielbaldao @PierreMesure I'd like to ask your opinion about a couple of things I'm considering.
What do you think? |
User Story
Why is this Needed?
More and more countries and cities recognise the possibility of citizens to define themselves as something else than male or female.
Description
Type: Feature
I suggest we start by simply adding the category "other" in the database and the user model. A more advanced implementation could follow if the need is expressed.
Definition of Done
other
to the model for a userThe text was updated successfully, but these errors were encountered: