A question about link_to tag


#1

Please see this code: <%= link_to ‘New info’, new_info_path %>

I wander what new_info_path means?


#2

Read http://frozenplague.net/2008/01/restful-routing-an-overview/ for
a brief overview, and http://guides.rails.info/routing_outside_in.html
for a longer overview

Ryan B.
Freelancer
http://frozenplague.net


#3

Hello Zhao Yi,

In your project directory run:

rake routes

You’ll get a listing of all the routes currently available in your
application and how they relate to your controllers.

Rick