Skip to content

Instantly share code, notes, and snippets.

@fayimora
Created January 7, 2012 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fayimora/1573733 to your computer and use it in GitHub Desktop.
Save fayimora/1573733 to your computer and use it in GitHub Desktop.
ActionView::Template::Error (No route matches {:action=>"create", :controller=>"post"}):
2: <%= link_to "<< back to list", "/posts" %>
3:
4: <section>
5: <%= form_for(:post, :url => {:action => 'create' }) do |f| %>
6:
7: <%= render :partial => 'form', :locals => {:f => f } %>
8:
app/views/post/new.html.erb:5:in `_app_views_post_new_html_erb___981529882650938543_70187893103800'
Rendered /Users/fayimora/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment