[Rails] # of entrys in different months
Melange
arvid at bottiger.com
Tue Jan 10 16:11:39 GMT 2006
right now im writing a weblog as my first project in rails. Most tings
seems to be working great :), but there is (a least) one thing left i
can't figure out how to do.
As most weblogs i would like to have an archive, whick looks like this:
January 2006 (42)
December 2005 (60)
November 2005 (2)
October 2005 (101)
September 2005 (4)
August 2005 (2)
July 2005 (101010)
where (x) is the number of posts that month.
How do i do this "the rails way"? the date in my table has the type
"datetime"
thanks in advence.
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list