Awesome, thanks Hassan for pointing me in the right direction. Hassan Schroeder wrote: > On Sat, Aug 28, 2010 at 7:30 AM, Ze Ca <li...@ruby-forum.com> wrote: >> That is true... I guess what I'm trying to get at is avoid using the >> built in ids as the resource identifier... and instead just using a >> randomly generated number as the identifier: > > Again, I don't know why you'd bother :-) but you could generate a > separate number on creation and use that -- google 'rails UUID' for > one approach. > > HTH, > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan
-- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.