leastbad / optimism

The missing drop-in solution for realtime remote form validation in Rails.
MIT License
361 stars 42 forks source link

Fix ruby 3 kwargs syntax #29

Closed julianrubisch closed 3 years ago

julianrubisch commented 3 years ago

Added two ** splats to appease Ruby 3.

I've tested it against Ruby 2.7.2, but another round of testing surely wouldn't hurt.

leastbad commented 3 years ago

I just tested and it still works on 2.6.5 <- hopefully this is what you meant by "more testing"