I'm trying to wrap my head around this idea, and thought I might be able
to solicit the help of the community a little bit.
@comments = Finding all comments for a particular thread.
- Each comment has a date of when it was posted.
- I would like to display all comments that were posted in the past 7
days in one area, and then display all older comments in another.
- I could imagine doing this as two separate database queries, but is
there a way to modify a for loop to run through them for me?
- How do you handle the date selection to use the current day - 7?