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?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to