i know uuid etc. @why sometimes u just need to display another e 10digits number which u can trace back and is still unique @how still not sure if a loop is the right way
On Mon, Aug 15, 2011 at 4:59 PM, Hassan Schroeder <[email protected]> wrote: > On Mon, Aug 15, 2011 at 1:52 PM, tom <[email protected]> wrote: >> in terms of an invoice i would eg like to display a uniqe number. yes >> , i could use auto-inc, which is the internal id, but sometimes u just >> need a ssecond one. > > Still not sure why, but OK -- google `ruby UUID` :-) > > - > Hassan Schroeder ------------------------ [email protected] > http://about.me/hassanschroeder > twitter: @hassan > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

