Skip to content

Update CI with Ruby 3.4, fix Rails Logger constant resolution issue#328

Merged
kbrock merged 2 commits intomasterfrom
flavorjones-fix-ci-logger
Apr 9, 2025
Merged

Update CI with Ruby 3.4, fix Rails Logger constant resolution issue#328
kbrock merged 2 commits intomasterfrom
flavorjones-fix-ci-logger

Conversation

@flavorjones
Copy link
Collaborator

@flavorjones flavorjones commented Jan 22, 2025

  1. Fix missing Logger constant because the latest concurrent-ruby dropped logger as a dependency, this broke Rails's dependencies.
  2. Add Ruby 3.4 to the CI matrix (but exclude Rails 6.0 and 7.1 because of unbundled gem errors with bigdecimal, base64, etc.).

because the latest concurrent-ruby dropped logger as a dependency,
this broke Rails's dependencies. See
rails/rails#54264 for more details.
Don't run 6.1 or 7.0 with Ruby 3.4 (some missing Gems due to moving
them out of the bundled set), and handle the 3.4 exception message
quoting changes.
@flavorjones flavorjones force-pushed the flavorjones-fix-ci-logger branch from 57ca3ee to 15bac4e Compare January 22, 2025 15:51
@flavorjones flavorjones requested a review from kbrock January 22, 2025 15:52
@flavorjones
Copy link
Collaborator Author

@kbrock Can you take a look and merge this when you get a second?

@flavorjones
Copy link
Collaborator Author

@kbrock bumping!

@flavorjones
Copy link
Collaborator Author

@kbrock please approve this so I can merge, CI has been broken for months.

expect {
Country.find_by_name_and_shoe_size!("US", 10)
}.to raise_error(NoMethodError, /undefined method `find_by_name_and_shoe_size!' (?:for|on) (class )?Country/)
}.to raise_error(NoMethodError, /undefined method [`']find_by_name_and_shoe_size!' (?:for|on) (class )?Country/)
Copy link
Collaborator

Choose a reason for hiding this comment

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

hadn't realized ruby changed this.

(makes me very happy)

@kbrock
Copy link
Collaborator

kbrock commented Apr 9, 2025

@flavorjones sorry Mike

@kbrock kbrock merged commit 2387d9c into master Apr 9, 2025
20 checks passed
@flavorjones
Copy link
Collaborator Author

@kbrock Thanks so much! ❤️

@kbrock kbrock deleted the flavorjones-fix-ci-logger branch July 29, 2025 19:26
kbrock added a commit to kbrock/active_hash that referenced this pull request Jul 29, 2025
- Add i18n support active-hash#230 @ryu-sato
- Add `column_names` method active-hash#311 @hatsu38
- Support Active Record 7.2 active-hash#317 @ashleyHutton
- Support ruby 3.4 active-hash#328 @flavorjones
- Add `:alias` to `has_many :through` active-hash#329 @alexgriff
- Add Active Record 8.0 active-hash#324 @flavorjones

- Fix Do not suppress load errors#309 @andreynering
- Ensure `field_names` are all strings active-hash#312 @flavorjones
- Hide private `add_default_value` active-hash#314 @kbrock
- Fix `exists?(nil)` active-hash#320 @y-yagi
- Enance Enum support active-hash#321 @hatsu38
- Updated docs active-hash#326 @y-yagi

- Drop Active Record < 6.1. Ruby < 3.0 active-hash#324 @flavorjones
kbrock added a commit to kbrock/active_hash that referenced this pull request Jul 29, 2025
Added
=====

- Add i18n support active-hash#230 @ryu-sato
- Add `column_names` method active-hash#311 @hatsu38
- Support Active Record 7.2 active-hash#317 @ashleyHutton
- Support ruby 3.4 active-hash#328 @flavorjones
- Add `:alias` to `has_many :through` active-hash#329 @alexgriff
- Add Active Record 8.0 active-hash#324 @flavorjones

Fixed
=====

- Fix Do not suppress load errors#309 @andreynering
- Ensure `field_names` are all strings active-hash#312 @flavorjones
- Hide private `add_default_value` active-hash#314 @kbrock
- Fix `exists?(nil)` active-hash#320 @y-yagi
- Enance Enum support active-hash#321 @hatsu38
- Updated docs active-hash#326 @y-yagi

Removed
=======

- Drop Active Record < 6.1. Ruby < 3.0 active-hash#324 @flavorjones
@kbrock kbrock mentioned this pull request Jul 29, 2025
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