I kept getting “uninitialized constant ActiveRecord::RecordNotFound” in a Rack app. The fix was to add this at the beginning of the file:
require "active_record/errors"
Developer from somewhere
I kept getting “uninitialized constant ActiveRecord::RecordNotFound” in a Rack app. The fix was to add this at the beginning of the file:
require "active_record/errors"