James West wrote:
> I need to auto generate a guaranteed to be unique number or string to be
> used something like this in a partial view <div id=<%=unique_div_id%>>

First of all: what's the purpose of this?  Why do you need all these 
unique IDs?  I want to make sure you've got an appropriate solution 
here.
As far as your question, why not just use GUIDs?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to