Skip to content

Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call #268

@gaetanm

Description

@gaetanm

Hello,

When I run Rspec on my project I have that warning:

ruby/gems/2.7.0/gems/arbre-1.4.0/lib/arbre/element.rb:182: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

I guess the fix is to change

helpers.send(name, *args, &block)

to

helpers.send(name, *args, **kwargs, &block))

ActiveAdmin 2.9.0
Rails 6.0.3

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