My RoR app works fine when run locally, but when I run it on Heroku, it errors on this line:
my_reader = Docreader.new(params[:doc])
Error:
NameError (uninitialized constant NotesController::Docreader):
Docreader.rb is located in the lib folder
I've tried heroku restart
, but it didn't help. What am I doing wrong? Thanks for reading.