Rails for Beginners Part 30: Tweet Validations Discussion
Working these videos late, I failed to realize my timezone is different from the rails default. You can set your time zone in
config.time_zone = "Eastern Time (US & Canada)"
There is a lot written about automatic detection of time zones:
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:
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?