Well I don't actually want to make a calendar but I need a view for each day of the year which I guess is sort of the same. Say I have a view where you see e.g. "July 1st" in the top of the page and you have links to the day before and the day after. Beneath this there is a list of - in my example - rooms and they have different states - either available or reserved.
How could I make something like this using Sinatra and Datamapper? Do I put it in the url or what possibilities do I have?
get '/rooms/:date' do
"List of rooms for " + params[:date]
end
So to recap. I'm trying to create a calendar where for each day you get a list of something that has a state of either available or reserved for every day of the year - but I don't know where to start.