リモート URL を保存しようとすると、Carrierwave が以下のエラーを返し続けます。
photo = space.photos.build
photo.remote_image_url = photo_url
photo.save!
# NoMethodError: undefined method `gsub!' for nil:NilClass
何か案は?
リモート URL を保存しようとすると、Carrierwave が以下のエラーを返し続けます。
photo = space.photos.build
photo.remote_image_url = photo_url
photo.save!
# NoMethodError: undefined method `gsub!' for nil:NilClass
何か案は?