Chapter 4. Validation and Behaviors
In this chapter, we will cover:
Adding multiple validation rules
Creating a custom validation rule
Using callbacks in behaviors
Using behaviors to add new fields for saving
Using the Sluggable behavior
Geocoding addresses with the Geocodable behavior