diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-09 14:03:31 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-09 14:14:10 +0900 |
commit | 1340498d2102423665cc5cfe7be7cdba32c72928 (patch) | |
tree | 9067d11ca44f28919e55918e1fb5ef48f13eca0f /actioncable/rollup.config.test.js | |
parent | 3567fa53f7dada3f5c66f4e72775f8bfa9f38f80 (diff) | |
download | rails-1340498d2102423665cc5cfe7be7cdba32c72928.tar.gz rails-1340498d2102423665cc5cfe7be7cdba32c72928.tar.bz2 rails-1340498d2102423665cc5cfe7be7cdba32c72928.zip |
Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order args
`split(/\s*,\s*/)` to order args and then `permit.match?` one by one is
much slower than `permit.match?` once.
Diffstat (limited to 'actioncable/rollup.config.test.js')
0 files changed, 0 insertions, 0 deletions