-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
RFC: Remove firstname and lastname from adresses #3234
Comments
I'm all for this. It simplifies a lot of the edge cases surrounding names and how to display them. I can see use cases where they want a bit more of a restricted naming experience a gem can be created to handle those cases. |
I have nothing against this -- I think it's a great change. |
I also am in favor of this. |
Here Here |
I really like this change and I started to work on it in #3447 but with the help of @kennyadsl I realized it was too much for a single PR. I'm tring to split the work into four different steps:
What do you think? |
We now have the codebase using the combined At the current stage we see 3 options to move this forward: Option 1: Override how Rails sets attributes and instead of using its own column, split Option 2: Add Option 3: Add |
We discussed this during the core team, we'd go with option 2 (adding a fallback when The handlers we were thinking of are:
|
We might be able to help with the migration since we already done that for one of our clients. cc @mamhoff |
@tvdeyen that would be great, thanks! |
This is using the new SolidusSupport helper method to determine when using one or the other version. Refs. - [Solidus RFC](solidusio/solidus#3234) - [Solidus 3.0 Extensions Hackathon](solidusio/solidus#3911)
This is using the new SolidusSupport helper method to determine when using one or the other version. Refs. - [Solidus RFC](solidusio/solidus#3234) - [Solidus 3.0 Extensions Hackathon](solidusio/solidus#3911)
The problem
Names :)
Seriously, read https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
Also issues like solidusio/solidus_paypal_braintree#226 happen
The proposal
We should add a
name
column toSpree::Address
then deprecate and later removefirstname
andlastname
.The text was updated successfully, but these errors were encountered: