Skip to content

Address Rails 7.1 deprecation warning in elasticsearch-rails (for 7.x branch)#1086

Open
r-plus wants to merge 1 commit intoelastic:7.xfrom
appbrew:fix/address-rails-7-1-log-subscriber-deprecation
Open

Address Rails 7.1 deprecation warning in elasticsearch-rails (for 7.x branch)#1086
r-plus wants to merge 1 commit intoelastic:7.xfrom
appbrew:fix/address-rails-7-1-log-subscriber-deprecation

Conversation

@r-plus
Copy link
Copy Markdown

@r-plus r-plus commented Oct 4, 2024

This is backport(cherry-picked) of #1067 to 7.x branch

This PR switches the elasticsearch-rails gem to use a new signature
of the ActiveSupport::LogSubscriber#color method when called in an
app using Rails 7.1+. With older Rails, the gem uses the working, old
signature.
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