Hi, I'm new to Rails (just a Java Programmer tired of having to
configure a lot of xml's and mapping classes just to make a simple page
I'm experiencing some problems with routers, i've created a new project
using Rails 2.0 and created a scaffold for users.
so i have the following:
(and the other pages created by the scaffold thing)
now, i want to create a new action list.html.erb
i'm with that default router that when I type /users/1 search for the
user with id = 1
how do i call the list.html.erb page? because, when i type /users/list i
get an error because it's trying to search for an id = list (?)
what would be the correct way to map this on routers.rb ?
i have some doubts about the users_path, users_url, when scaffold
generates the page he calls new_user_path for example. I didn't
understand how that is possible.
If i creat that list.html.erb page on the users folder, will i be able
to call an list_user_path ?
Sorry if my questions look a little too beginner, maybe i missundertood
something, and if someone can lead me to the right way, I'll be very