Carrierwave Gem: After creating user with avatar, 'cannot convert nil into string'
问题 I will say when I first got carrierwave up and running, everything was working totally fine aside from the size scaling of the avatar. So now after I tried to do scaling, everything went to hell. I uninstalled the gem, did a migration to remove avatar from user, then did another migration to add. Still the same error. Note I am doing rails g uploader Avatar, NOT image. I have not touched the avatar_uploader.rb file, aside from adding require 'carrierwave/orm/activerecord' on the top line. So,