Use another syntax %a{ :href => /#{@user.username} } Feed Domokun More Photos