Skip to content
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

Clean out finished_at in create #94

Conversation

jmileham
Copy link
Member

@jmileham jmileham commented Mar 7, 2019

Summary

If you want to reenable a finished split via a migration, it won't actually un-finish it. This fixes that.

/domain @Betterment/test_track_core
/no-platform

@nanda-prbot
Copy link

Needs somebody from @Betterment/test_track_core to claim domain review

Use the shovel operator to claim, e.g.:

@myname << domain && platform

@@ -7,6 +7,7 @@ class SplitCreation
validate :split_must_be_valid

def save
split.finished_at = nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ Love when it really is this easy!

@coreyja
Copy link
Contributor

coreyja commented Mar 7, 2019

<< domain LGTM

@nanda-prbot
Copy link

Approved! 🙏 🎇 👏

@jmileham jmileham merged commit e250cc1 into Betterment:master Mar 7, 2019
@jmileham jmileham deleted the jmileham/reenable_finished_splits_on_create branch March 7, 2019 21:01
nonrational pushed a commit to bymealpal/test_track that referenced this pull request Mar 19, 2019
* upstream/master:
  Upgrade rails (Betterment#95)
  Clean out finished_at in create (Betterment#94)
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.

None yet

3 participants