10 Experience
0 Lessons Completed
0 Questions Solved


Posted in Direct Uploads with ActiveStorage Discussion

I am having an error in production.

In development locally everything is working perfectly but in production I am getting this error:

NoMethodError (undefined method `upload' for nil:NilClass)
Did somebody has a same or similar error?
logo Created with Sketch.

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

© 2022 GoRails, LLC. All rights reserved.