Zack K. wrote:
> How do i set the route?
> Sorry, i'm new to Rails

You can only use named routes (which form_for uses when you pass it an 
AR object) if you declare them.  This is done with the map.resource and 
map.resources methods in your config/routes.rb file.  Read up on named 
routes.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to