Skip to content

Upgrade Devise to version 5#437

Merged
leesheppard merged 2 commits intomainfrom
419-upgrade-devise-to-version-5
Jan 26, 2026
Merged

Upgrade Devise to version 5#437
leesheppard merged 2 commits intomainfrom
419-upgrade-devise-to-version-5

Conversation

@leesheppard
Copy link
Member

Resolves issue #419 upgrading to version 5 of Devise.

@leesheppard leesheppard self-assigned this Jan 26, 2026
Copilot AI review requested due to automatic review settings January 26, 2026 06:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

@leesheppard leesheppard linked an issue Jan 26, 2026 that may be closed by this pull request
The flash[:alert] block was removed from the _devise_error_alert partial, leaving only resource.errors display and leaving authentication alerts to be handled consistently by the global flash message system. Updated the sessions feature spec to match the new error message casing for invalid login attempts.
@leesheppard leesheppard requested a review from Copilot January 26, 2026 07:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

<%= flash[:alert] %>
</div>
<% end %>

Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The removal of flash[:alert] handling may break error display for certain Devise actions (like lockable, confirmable, or timeoutable strategies) that use flash messages rather than resource errors. Consider verifying that all Devise modules in use display errors correctly, or add a comment explaining why flash alerts are no longer needed.

Copilot uses AI. Check for mistakes.
@ruby-au ruby-au temporarily deployed to ruby-org-au-419-upgrade-j4hhsr January 26, 2026 07:25 Inactive
@leesheppard leesheppard merged commit 2b4478c into main Jan 26, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from Todo to Done in RubyAU Community PM Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Upgrade Devise to version 5

2 participants