Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Conversation

@PatrickMcSweeny
Copy link
Contributor

Pull request checklist

  • My code contains tests covering the code I modified
  • I linted and tested the project with bin/check
  • I added significant changes and product updates to the changelog

@PatrickMcSweeny PatrickMcSweeny force-pushed the rails-7.2 branch 3 times, most recently from 40cab9d to 933daab Compare May 9, 2025 04:21
@PatrickMcSweeny
Copy link
Contributor Author

The two tests that are failing are the same ones I mentioned in this comment in the Rails 7.1 PR.


FEATURE_LENGTH = 1.week

enum search_status: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was getting warnings about keyword arguments for enums being deprecated in Rails 8.

Copy link
Owner

Choose a reason for hiding this comment

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

What's the formatting look like if you move each case to its own line? I wonder if that would drastically reduce this PR's diff.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried that approach and it did reduce the diff.

gem "webmock"
end

gem "abbrev"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

CI wouldn't run without adding this gem

@PatrickMcSweeny
Copy link
Contributor Author

I confirmed manually that the image meta tag shows up successfully when on the developer page when an avatar is present.

@PatrickMcSweeny
Copy link
Contributor Author

I did some digging into the error caused by the avatar object not persisting, and it looks like the validation is failing because the file fixture doesn't have values for byte_size or checksum. I was not able to figure out to add those values in a way that the validation would pass.

gem "inline_svg"
gem "invisible_captcha"
gem "noticed"
gem "noticed", "~> 1.6.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Upgrading the noticed and pay gems to the latest versions would be a huge undertaking, so I think it makes more sense to pin them for now.

@PatrickMcSweeny
Copy link
Contributor Author

@joemasilotti Can you look at this soon?

@PatrickMcSweeny
Copy link
Contributor Author

@joemasilotti What are your plans for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants