All of my stat tables house data that is compiled weekly.  I know how to
add a date range selector to the table but I'm not sure how I can
restrict the selector to show specific weeks only unless I use a
symbolic type of selector.

For instance:

Suppose there are 13 weeks in a season.  Data is added each of the 13
weeks.  A person wants to view just the data from week 1.  In my table
week 1 would have been between the date ranges of say Aug 31 - Sep 6.

Should I just use a symbolic selector instead with options for say:
Week 1
Week 2
Week 3...

And then provide a case for when that week is selected it is sent over
to a defined named_scope for that particular week?

I'm just thinking about possibilities and what might be a better way of
doing things.

Thanks.
-- 
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