--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi!Take a look at:andI think they could help.E.g:hash = Time.all.collect { |t| [ t.date , t.hour ] }.group_by { |date,hour| date.strftime("%-m/%-d/%Y") }
I think you might run into trouble using a class Time as this is
already a ruby class.
Colin