General

Profile

phillipp (Phillipp Röll)

  • Login: phillipp
  • Registered on: 02/09/2024
  • Last sign in: 04/03/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/09/2024

08:29 PM Ruby Bug #20251: Wrong ArgumentError raised for hash as last parameter before keyword aguments
I know and unserstand that, but still, is the raised exception not wrong? Should that not be `ArgumentError: unknown keyword: :name`? phillipp (Phillipp Röll)
01:29 PM Ruby Bug #20251 (Feedback): Wrong ArgumentError raised for hash as last parameter before keyword aguments
Suppose we have the following method as part of an API client:
```
def post(path, params, timeout: 30)
end
```
The method is then called like this:
```
post("/persons", name: "John Doe")
```
This leads to an error messag...
phillipp (Phillipp Röll)

Also available in: Atom