The has_uuid gem adds a UUID to your AR models. See the README for details.
Timo Rößner
gem "has_uuid", "~> 0.1.0"