Skip to content

Remove Idv::ProfileActivator#5495

Merged
zachmargolis merged 4 commits intomainfrom
margolis-remove-user-activator
Oct 13, 2021
Merged

Remove Idv::ProfileActivator#5495
zachmargolis merged 4 commits intomainfrom
margolis-remove-user-activator

Conversation

@zachmargolis
Copy link
Contributor

While digging in the code I found this class that didn't do much (easily inlined with user.pending_profile&.activate

I also decided that the .decorate.pending_profile was a smell, since pending_profile, just like active_profile are more "core logic" attributes than "decoration" attributes so I moved that and collapsed all the call sites down

@zachmargolis zachmargolis merged commit e5307d4 into main Oct 13, 2021
@zachmargolis zachmargolis deleted the margolis-remove-user-activator branch October 13, 2021 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants