using 'truncate' rails helper for detail fields