Install ruby-sequenced by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-sequenced
Description:
generate scoped sequential IDs for ActiveRecord models
This library provides an `acts_as_sequenced` macro that automatically assigns a unique, sequential ID to each record. The sequential ID is not a replacement for the database primary key, but rather adds another way to retrieve the object without exposing the primary key.
Homepage: https://github.com/djreimer/sequenced
Version: 3.1.1-1
Section: universe/ruby