Ian

Joined

3,520 Experience
35 Lessons Completed
0 Questions Solved

Activity

I was using the variable "Tweets" instead of "tweets", got that part sorted!

When trying to render the partial on /tweets/new, I'm getting the error:

```NoMethodError in Tweets#new

Showing /Users/ianmcmullen/scheduled_tweets/app/views/shared/_form_errors.html.erb where line #1 raised:

undefined method errors' for nil:NilClass``

However, the same line — <%= render "shared/form_errors", form: form %> — is working fine in registrations/new and giving the errors as expected. Is there anything I may be missing?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.