Here's a cool Rails validation trick to add to your arsenal. Enjoy.
Years ago, when I first started coding in Rails, I wrote a blog post about handling titles and meta tags in a Rails app. While it was a good solution for the time, it is a woefully outdated approach for the world of Rails 5. Here is a better way.