Generate scoped sequential IDs for ActiveRecord models

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 #activerecord https://rubyonrails.ba/single/generate-scoped-sequential-ids-for-activerecord-models

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles