I bought this book about rails for beginers (head first Rails)
and its quite simple and good for someone who has no clue about Rails
(or any other language)
On chapter two it talks about routing
but unfortunately the book is for rails 2 and i have rails 3 installed
on my mac.
The line i have to enter in the config/routes.rb of my application is:
map.connect '/ads/:id', :controller=>'ads', :action=>'show'
but apparently this syntax has changed in rails 3 and i have no clue
how to convert it and move on to the next pages.
Can someone please help?