Manage gap-free sequence unique numbers for Rails AR