why not just put the root_name here and let the template speak for itself instead of inside the ruby code?