Here is a Ruby gem for generating and managing pretty, human-readable keys in ActiveRecord models - uses sqids and a ticket table:
https://github.com/noreastergroup/active_record_pretty_key