I've got the following setup:
map.resources :articles
map.resources :users, :has_many => [:articles]
Which is fine as I can do /users/2/articles to get a list of articles by a given user.
I also have a route setup to do:
map.connect 'articles/month/:month/:year', :controller => 'articles', :action => 'index'
Which works for finding all articles for a given month and a given year.
What I want to do now is show articles by a given user for a given month and year.
Perhaps a url like: /users/2/articles/month/4/2009
Is there a neat way of doing this? Thanks