When I try to submit the form its giving me the error
No route matches [POST] \"/articles/new\"
the files are: new.html.erb
this file
I was continually running into this problem and it came down to the fact that I had the following code in my navbar:
<%= link_to "Blog", controller: 'articles' %>
I switched to this and it all started working:
<%= link_to "Blog", articles_path %>
I'm still new to this so the different ways of doing things sometimes gets confusing.