Thoughts on adding #replace_in_address_book to Spree::User? #4083
elia
started this conversation in
New Features or Ideas
Replies: 1 comment
-
I like it and I think every store that uses address book can benefit from this. It's not clear from which page should we use this new method though, can you help me understand better, please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a project we recently added User#replace_in_address_book as a surrogate of edit when dealing with immutable objects like
Spree::Address
. Was wondering if it would make sense to upstream it.Implementation
Here's the code:along with specs:
Beta Was this translation helpful? Give feedback.
All reactions