0

I'm still very new to rails and I'm trying to figure out what exactly I've done wrong here.

This is the error that I'm getting:

undefined method `thoughts_path' for #<#:0x007fdcc176bbf0>

In addition to this Application Trace error:

app/views/thoughts/create.html.erb:3:in `_app_views_thoughts_create_html_erb___4175069892643358175_70293055466360'

And here's a link to the source on Gist https://gist.github.com/78037c4febfaa270a67e

1 Answer 1

4

What does your routes(config/routes.rb) file look like ? Does it contain resources :thoughts ? If not, add it and see if it works.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.