Sean Clark Hess wrote:
> I've thought of including a field called "order" or something, but then I'd
> have to update every single one when I change the order.

You can update them all with just 2-3 SQL statements, so it doesn't
have be to a performance concern. I've done this several times.

Side note: I think "position" is the more commond name for a column
like this, at least within Rails apps.

HTH
--~--~---------~--~----~------------~-------~--~----~
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-talk@googlegroups.com
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