Skip to content

Fix updated_ajax action to permit only legit params#1109

Merged
texpert merged 2 commits intoowen2345:masterfrom
texpert:fix-updated-ajax
Jan 14, 2025
Merged

Fix updated_ajax action to permit only legit params#1109
texpert merged 2 commits intoowen2345:masterfrom
texpert:fix-updated-ajax

Conversation

@texpert
Copy link
Collaborator

@texpert texpert commented Jan 13, 2025

No description provided.

@texpert texpert marked this pull request as draft January 13, 2025 02:54
Add `require 'pathname'` to the spec_helper.rb to avoid `Uninitialized Pathname constant` error

Use expect(response.body).to include('password_confirmation') to avoid errors caused by changes in responses on different Rails' versions
@texpert texpert marked this pull request as ready for review January 13, 2025 10:25
Copy link
Owner

@owen2345 owen2345 left a comment

Choose a reason for hiding this comment

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

LGTM

@texpert texpert merged commit 179fd6b into owen2345:master Jan 14, 2025
23 checks passed

Choose a reason for hiding this comment

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

password[role]=admin

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.

3 participants