Using a formatter to work with Rails 4.