CarrierWaveを使ってて、NameError: uninitialized constant 〇〇model::〇〇Uploaderが発生したら
code:config/environment.rb
# Load the Rails application.
require_relative 'application'
# Initialize the Rails application.
Rails.application.initialize!
require 'carrierwave/orm/activerecord' # 行末にこれを追加
これで直るはず!