you could do 
```ruby
channel.try(:name) or ...
```
wdyt?