I hereby claim:
- I am thomas-kielbus on github.
- I am thomas_kielbus (https://keybase.io/thomas_kielbus) on keybase.
- I have a public key ASCNVTF48JlpwV5rYIV5BkRg5zxtpNs8z3FrIQZ1x1DGqgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
unless Rails::VERSION::STRING == "4.0.0" | |
raise "Rails version changed. Revisit overrides and make sure they're still good!" | |
end | |
# If routes are prefixed with a :locale, you can no longer do | |
# `foo_path(foo)` but only `foo_path(id: foo)`, since it expects | |
# the first of any non-hash arguments to be the locale. | |
# This monkeypatch fixes that by never allowing locale as the first | |
# non-hash argument |