Use rails helpers on server side