or group by week for that matter... On Apr 7, 11:35 am, eggie5 <[email protected]> wrote: > I have a collection of of objects from an query. I can group them by > using: > > @dogs.group_by(&:birth_date) > > that works fine... and it groups them by date, however, I want to > group them by month. How can I do this?
-- 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.

