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.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.