I am getting to grips with Raisl 1.2 and am using the new restfull
features. I have my model article and used scaffold_resource article to
geive me the restfull default crud methods. So in the routes.rb i have
in the articles controller i want to add a custom method lets say list
and have a list view to show all the articles in the model.
@articles = Article.find(:all)
What is the best way to then access the list method in the articles
controller. If i try http://localhost:3004/articles/list i get an
error. Do i need to set up a named route or can i add something to the
map.resources :articles to let it know to accept requests for the list
Is using map.connect :controller/:action/:id, :controller =‘xxxx’,
:action =’’ not good practice in this version?
Any advice appreciated