I have an application that sends messages and each message that gets
sent needs to have a unique sequence number, this sequence number is
incremented with each message. As I understand it, I should be storing
this sequence number in the DB rather than in a global variable.
My question is, how do I use rails and active record to define this
table? The table doesn't need to have any of the active record things
like an auto incrementing integer ID, it justs needs to be a single
column, single row table storing an integer value that I can easily