This is fine, but I think its clearer to write
```rb
= link_to 'https://github.com/fab' do
  = image_tag 'octocats/codercat.jpg'
```