aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-06-09 14:03:31 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-06-09 14:14:10 +0900
commit1340498d2102423665cc5cfe7be7cdba32c72928 (patch)
tree9067d11ca44f28919e55918e1fb5ef48f13eca0f /activerecord/test/migrations
parent3567fa53f7dada3f5c66f4e72775f8bfa9f38f80 (diff)
downloadrails-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 'activerecord/test/migrations')
0 files changed, 0 insertions, 0 deletions