Plugins - acts_as_sequenced

StarAdd to favorites

I 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.

Zack Chandler

http://www.depixelate.com/articles/2006/07/19/acts-as-sequenced

  • Currently 1.8/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Model

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?