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

Upgrade to Rails v7.2 #843

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

Upgrade to Rails v7.2 #843

wants to merge 1 commit into from

Conversation

ezekg
Copy link
Member

@ezekg ezekg commented May 17, 2024

WIP. Using the current stable branch. Bullet doesn't support Rails v7.2 yet.

@@ -109,7 +109,7 @@ group :development, :test do
gem 'byebug', platform: :mri
gem 'dotenv-rails'
gem 'timecop', '~> 0.9.5'
gem 'bullet', '~> 7.1.6'
# gem 'bullet', '~> 7.1.6'
Copy link
Member Author

Choose a reason for hiding this comment

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

module ActiveRecordWhereAssoc
module ActiveRecordCompat
if ActiveRecord.gem_version >= Gem::Version.new('7.2.0.alpha')
def self.normalize_association_name(name) = name.to_sym

This comment was marked as resolved.

@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from b38eb80 to 69a27f3 Compare May 17, 2024 20:45
spec/factories/entitlement.rb Outdated Show resolved Hide resolved
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch 3 times, most recently from 953d70a to 91fb970 Compare May 18, 2024 00:39
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from 91fb970 to aeab923 Compare May 20, 2024 16:05
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch 2 times, most recently from b497cd1 to af37a86 Compare May 20, 2024 19:53
@ezekg
Copy link
Member Author

ezekg commented May 20, 2024

I give up. I tried various workarounds for rails/rails#51853, but I think this is a bug that needs to be fixed upstream.

@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from af37a86 to 6f7ef50 Compare May 20, 2024 21:32
@zzak
Copy link

zzak commented May 21, 2024

@ezekg Are you willing to try and bisect with your repro script to help identify the cause of the change?

@ezekg
Copy link
Member Author

ezekg commented May 21, 2024

@ezekg Are you willing to try and bisect with your repro script to help identify the cause of the change?

@zzak Sure. I posted the bisect results in rails/rails#51853 (comment).

@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from d9f1141 to 6ac3a00 Compare June 5, 2024 21:53
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from 6ac3a00 to 3f9713f Compare June 5, 2024 21:55
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.

None yet

2 participants