Skip to content

Remove redundant ActiveModel::Validations include from Signup#2997

Open
songjiz wants to merge 1 commit into
basecamp:mainfrom
songjiz:remove-redundant-validations-include
Open

Remove redundant ActiveModel::Validations include from Signup#2997
songjiz wants to merge 1 commit into
basecamp:mainfrom
songjiz:remove-redundant-validations-include

Conversation

@songjiz

@songjiz songjiz commented Jul 27, 2026

Copy link
Copy Markdown

ActiveModel::Model already includes ActiveModel::API, which brings in
ActiveModel::Validations.

   ActiveModel::Model already includes ActiveModel::API, which brings in
   ActiveModel::Validations.
Copilot AI review requested due to automatic review settings July 27, 2026 06:56

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the Signup ActiveModel by removing a redundant module include, relying on ActiveModel::Model’s existing inclusion of ActiveModel::Validations via ActiveModel::API.

Changes:

  • Removed include ActiveModel::Validations from Signup since validations are already available through ActiveModel::Model.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants