From: Mikkel Bruun Date: 2008-03-01T07:30:20+09:00 Subject: making a monthly calendar... Hey I trying to do a calendar based app.. So i have a monthly view with 5 weeks of 7 days = 35 boxes... Just like google calendar i need to show the selected month, and fill in the blanks with the previous and next months days... so february is ending today on a friday. So in the last 2 boxes of the 5. week i need to show march 1 and 2 and the same in the front... I have this Month class. Which contains all the dates for a given month, as well as references to the next and previous months.... there must be some kind of pattern im not getting bevause i keep slamming my head against the wall on this.... anyone who have a quuck solution??? thanks!! mikkel -- Posted via http://www.ruby-forum.com/.