I sort of knew count() is what I might use even though I said
find(:all), I haven't used count() in a long time and I forget the
syntax and all or how to set it up (it used to have some special set
up in the old rails), but it's still sort of the same problem.
The round robin sounds good, but I doubt it exists in the DB that we
use (MS SQL Server) .. So we have to do it our self. Someone has said
you can write a process that runs in SQL server itself. Not something
I am familiar with, but I guess one of the guys I work with can help
me out ..
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment