aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/endpoint.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-04-21 22:06:12 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-04-21 22:06:12 +0900
commit611e1102d3bd46c4765bec7d57ca8d343c419e33 (patch)
tree02f69178e2a0c32c5624179fe1bfb16a7adc541a /actionpack/lib/action_dispatch/routing/endpoint.rb
parente76e4778d172e2bf43026490256d33a8f5441393 (diff)
downloadrails-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/routing/endpoint.rb')
0 files changed, 0 insertions, 0 deletions