diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-21 22:06:12 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-21 22:06:12 +0900 |
commit | 611e1102d3bd46c4765bec7d57ca8d343c419e33 (patch) | |
tree | 02f69178e2a0c32c5624179fe1bfb16a7adc541a /actionpack/lib/action_dispatch/http/content_security_policy.rb | |
parent | e76e4778d172e2bf43026490256d33a8f5441393 (diff) | |
download | rails-611e1102d3bd46c4765bec7d57ca8d343c419e33.tar.gz rails-611e1102d3bd46c4765bec7d57ca8d343c419e33.tar.bz2 rails-611e1102d3bd46c4765bec7d57ca8d343c419e33.zip |
`target` in `CollectionAssociation` is always an array
So `target.is_a?(Array)` is meaningless, and just use `target.empty?`
instead of `target.blank?`.
Diffstat (limited to 'actionpack/lib/action_dispatch/http/content_security_policy.rb')
0 files changed, 0 insertions, 0 deletions