Skip to content

Ruby 2.7 deprecation in 6.x version #951

Closed
@edariedl

Description

@edariedl

Hey, would it be possible to fix ruby 2.7 deprecation also in 6.x version of the gem?

https://github.com/elastic/elasticsearch-rails/blob/6.x/elasticsearch-model/lib/elasticsearch/model/adapters/active_record.rb#L88

Line should look like this.

scope.find_in_batches(**options) do |batch|

It is already fixed in 7.x version, unfortunately not in 6.x.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions