mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Note:
```
def foo(bar: 1)
end
foo({bar: 2})
# raises a deprecation, instead use:
foo(**{bar: 2})
```
Additionally when matching regexes always use strings. It does not make
sense to match a non string to a regex.