How do i set the route?
Sorry, i'm new to Rails
On Oct 17, 10:36 am, Andrew Porter <[EMAIL PROTECTED]> wrote:
> Zack K. wrote:
> > Well right now i'm currently trying to make a form that posts
> > information into my database. I'm using the form_for function, but
> > when i run the server and go to the page and get this error:
>
> > undefined method `posts_path' for #<ActionView::Base:0x23bbabc>
>
> You have no route for posts declared.
--~--~---------~--~----~------------~-------~--~----~
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-talk@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---