We can add pry to .gemfile if it's needed.
Tell friendly_id to regenerate slug if title has changed.

This is due to change in friendly_id 5.0.x where it doesn’t regenerate
slug when record is updated.