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

migration for changing following to true for all rows of NodeSelection #3201

Merged
merged 1 commit into from Aug 6, 2018

Conversation

grvsachdeva
Copy link
Member

Part 2 of #1610

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in a uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • PR body includes fixes #0000-style reference to original issue #
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.

Thanks!

@ghost ghost assigned grvsachdeva Aug 4, 2018
@ghost ghost added the in progress label Aug 4, 2018
@plotsbot
Copy link
Collaborator

plotsbot commented Aug 4, 2018

1 Warning
⚠️ New migrations added. Please update schema.rb.example by overwriting it with a copy of the up-to-date db/schema.rb. Also, be aware to preserve the MySQL-specific conditions for full-text indices.
1 Message
📖 @gauravano Thank you for your pull request! I’m here to help with some tips and recommendations. Please take a look at the list provided and help us review and accept your contribution! And don’t be discouraged if you see errors – we’re here to help.

Generated by 🚫 Danger

@grvsachdeva
Copy link
Member Author

@jywarren after publishing this please let me know whether all NodeSelections rows have following = true or not. Thanks!

@jywarren jywarren merged commit 5dac2f3 into publiclab:master Aug 6, 2018
@ghost ghost removed the ready label Aug 6, 2018
@jywarren
Copy link
Member

jywarren commented Aug 6, 2018

OK, i'll run NodeSelection.where(following: true).count!

@grvsachdeva
Copy link
Member Author

You mean NodeSelection.where(following: false).count as we need to ensure that there are 0 nodeSelection entries with following = false

@grvsachdeva
Copy link
Member Author

Thanks!

@jywarren
Copy link
Member

jywarren commented Aug 7, 2018

Great, NodeSelection.where(following: false).count returned 0!

@grvsachdeva
Copy link
Member Author

Awesome 🎉 ! Creating PR for completing this setting then. Thanks!

@jywarren
Copy link
Member

This is published!

@grvsachdeva
Copy link
Member Author

Hi @jywarren! Hope you had great vacations. Good to see you back. Sorry, I wasn't able to complete my last setting until now, due to the college placement going on. I will try to complete it as soon as I get some free time. Thanks!

@jywarren
Copy link
Member

jywarren commented Aug 29, 2018 via email

SrinandanPai pushed a commit to SrinandanPai/plots2 that referenced this pull request May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants