Plugins - acts_as_sequenced
Add to favoritesI recently worked on a CRM-type web app that tracks accounts, customers, and jobs for service contractors. Businesses in this vertical are used to tracking each customer by a customer number and each job with a job number. The simplest way to handle this in Rails is to use the id column as the customer or job number. The problem with this approach is that it causes confusion with accounts when they discover gaps in their sequences. These gaps are of course caused by other accounts creating records.
