Search⌘ K

Provide Basic Polish

Explore how to enhance presentation in Rails views by configuring locale files for labels, using placeholders properly, sorting displayed data within views, and styling validation errors. This lesson helps you understand essential steps to polish user interfaces effectively while following Rails conventions.

We'll cover the following...

Enhancing presentation in Rails views

First, we’ll deal with the label for price_cents. We can do that by editing config/locales/en.yml, which is where Rails will look for labels to use (specifically for ...