Use a ruby block in ad components