I guess this if statement is not correct:
```
irb(main):001:0> opts = {content_available: 1}
=> {:content_available=>1}
irb(main):002:0> content_avaliable = opts.delete(:content_available)
=> 1
irb(main):003:0> content_avaliable == (true || 1)
=> false
```