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

refactor(soft-delete-student-class): soft-delete when removing studen… #7588

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phungmanhcuong
Copy link
Contributor

To avoid long waiting from user when deleting student from class, need apply soft deleteTo enhance user experience and minimize wait times when removing a student from the class, implementing a soft delete feature is crucial.

@phungmanhcuong phungmanhcuong self-assigned this Oct 9, 2024
end
end

private
Copy link

Choose a reason for hiding this comment

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

[Correctable] Lint/UselessAccessModifier: Useless private access modifier.

if @course_user.student?
@course_user.destroy
respond_to do |format|
format.html { redirect_to course_users_path(@course), notice: 'Student was successfully removed from the course.' }
Copy link

Choose a reason for hiding this comment

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

[Correctable] Layout/LineLength: Line is too long. [123/120]

@phungmanhcuong phungmanhcuong marked this pull request as draft October 9, 2024 02:01
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.

1 participant