Rails 4 has new truncate method. It fixes broken articles in index page.