Git Product home page Git Product logo

Comments (4)

amelie-certin avatar amelie-certin commented on May 23, 2024 2

Hello, I managed to reproduce it by doing so:

# helper
def foo(bar: 2)
  # Do something useful
end


  form do |f|
    f.input :name, hint: foo(bar: 1)
    ...
  end

Well, in our case we are using a helper to format a collection for a select, but it is all the same as long as the helper method takes a named parameter

from arbre.

javierjulio avatar javierjulio commented on May 23, 2024 1

I would expect our tests to fail now that we have added Ruby 3.0 CI builds (pending merge) but they aren't. I don't see warnings on earlier version builds either. We likely don't have test coverage for this case. Were you able to determine where that was occurring and if so could you share what that code looked like? Could give a hint on how to create a reproducible test case. Thanks.

from arbre.

javierjulio avatar javierjulio commented on May 23, 2024 1

This was fixed in #318 and part of the latest release. Thanks!

from arbre.

danny-lai-queo avatar danny-lai-queo commented on May 23, 2024

my server is flooded with that same warning . Is there any fix ?

I tried gaetanm 's suggestion to use
helpers.send(name, *args, **kwargs, &block) # with kwargs = {}

but it will crash and does not work .

from arbre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.