If you do it this way, you only have to loop through `routes` once (instead of once for `select` and once for `each`):
```ruby
routes.each do |r|
  next unless r.subnet == "0.0.0.0"
  ...
end
```