Generate scoped sequential IDs for ActiveRecord models
30-Jan-2020 1791
Sequenced is a simple gem that generates scoped sequential IDs for ActiveRecord models. This gem 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.
Generate scoped sequential IDs for ActiveRecord models #ruby #rubydeveloper #rubyonrails #Generate #scoped #sequential #ActiveRecord #models #activerecord https://rubyonrails.ba/link/generate-scoped-sequential-ids-for-activerecord-models