When you have a loop that inside has an if statement, I recommend the following:

```ruby
network.shows.to_a.select{|show| show.day_of_week == day_of_week} do |show|
  puts show
end
```

There's also the ability to do this in SQL:

```ruby
Show.where(day_of_week: day_of_week).each do |show|
end
```