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

E2126. Refactor account_request_controller.rb #2117

Merged
merged 26 commits into from
Feb 4, 2022

Conversation

majuabir
Copy link
Contributor

Team members
Abir Majumder
Connor Smith
Joshua Myers

Wiki with all the proposed changes:
https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2126._Refactor_account_request_controller.rb

@expertiza-bot
Copy link
Contributor

1 Message
💬 Thanks for the pull request, and welcome! 🎉 The Expertiza team is excited to review your changes, and you should hear from us soon.

This repository is being automatically checked for code-quality issues using Code Climate.
You can see results for this analysis in the PR status below. Newly introduced issues should be fixed before a pull request is considered ready to review.

Also, please spend some time looking at the instructions at the top of your course project writeup.
If you have any questions, please send email to expertiza-support@lists.ncsu.edu.

UUID 2 Warnings
c951 ⚠️ You should commit changes to the DB schema (db/schema.rb) only if you have created new DB migrations.
Please double check your code. If you did not aim to change the DB, please revert the DB schema changes.
c51d ⚠️ You are modifying Gemfile or Gemfile.lock, please double check whether it is necessary.
You are suppose to add a new gem only if you have a very good reason. Try to use existing gems instead.
Please revert changes to Gemfile.lock made by the IDE.
UUID 2 Errors
65de 💥 You are including debug code in your pull request, please remove it.
b9a1 💥 You changed .gitignore; please double-check whether this is necessary.

Generated by expertiza-bot

@expertiza-bot
Copy link
Contributor

expertiza-bot commented Oct 21, 2021

1 Message
💬 Thanks for the pull request, and welcome! 🎉 The Expertiza team is excited to review your changes, and you should hear from us soon.

This repository is being automatically checked for code-quality issues using Code Climate.
You can see results for this analysis in the PR status below. Newly introduced issues should be fixed before a pull request is considered ready to review.

Also, please spend some time looking at the instructions at the top of your course project writeup.
If you have any questions, please send email to expertiza-support@lists.ncsu.edu.

UUID 1 Warning
c51d ⚠️ You are modifying Gemfile or Gemfile.lock, please double check whether it is necessary.
You are suppose to add a new gem only if you have a very good reason. Try to use existing gems instead.
Please revert changes to Gemfile.lock made by the IDE.
c951 You should commit changes to the DB schema (db/schema.rb) only if you have created new DB migrations.
Please double check your code. If you did not aim to change the DB, please revert the DB schema changes.
UUID ✅ Nice work.
b9a1 You changed .gitignore; please double-check whether this is necessary.
65de You are including debug code in your pull request, please remove it.

Generated by expertiza-bot

@expertiza-travisci-bot
Copy link

expertiza-travisci-bot commented Oct 21, 2021

Hey @majuabir,
Your changes look good to me! 🎉

@coveralls
Copy link

Coverage Status

Coverage decreased (-18.6%) to 38.176% when pulling 6511a9f on majuabir:beta into 6ad3607 on expertiza:beta.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-18.6%) to 38.176% when pulling 6511a9f on majuabir:beta into 6ad3607 on expertiza:beta.

@coveralls
Copy link

coveralls commented Oct 29, 2021

Coverage Status

Coverage increased (+0.02%) to 45.268% when pulling 3036201 on majuabir:beta into e8c559f on expertiza:beta.

Copy link
Collaborator

@johnbumgardner johnbumgardner left a comment

Choose a reason for hiding this comment

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

needs manual testing and code tests

def create_approved_user
# If a user isn't selected before approving or denying, they are given an error message
if params[:selection] == nil
Copy link
Collaborator

Choose a reason for hiding this comment

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

use .nil?

@johnbumgardner johnbumgardner self-assigned this Feb 2, 2022
@johnbumgardner johnbumgardner merged commit 70d66a2 into expertiza:beta Feb 4, 2022
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

7 participants