I''m making a calendar, with both weekly and monthly displays. The calendar will be generated from a list of "events". (That is, the table is "events", the model is "event", etc.) I want to URLs to look something like this: calendar/monthly/9/2006 (showing Sept 2006) or calendar/weekly/9/12/2006 (showing the week which contains Sept 12th). I know to use routes.rb to steer to the events controller and set the date parameters, but since I''m new to rails and MVC in general, I''d really appreciate some advice about best practices. Is it kosher to establish "monthly" and "weekly" actions in the events_controller and then write corresponding "monthly" and "weekly" views? Or is there a preferable way to do this? I keep reading about how one should try to keep the model / view / controller classes as clean and streamlined as possible. Do the monthly and weekly ''calendar'' actions belong somewhere else? Should I be using helpers somehow? (I''m still a bit unclear as to how and when to use helpers.) Should I set up a seperate calendar controller, even though a calendar really is a listing of events in a particular format? Should I just shut up and get it done, as this all just a matter of taste? thanks much, -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---