Here’s a memo on how to register local files with CarrierWave.
@user = User.new
@user.image.store! File.open(path_to_file)
[Reference]:carrierwaveでローカルファイルを登録 #Rails - Qiita
That’s all from the Gemba.
Here’s a memo on how to register local files with CarrierWave.
@user = User.new
@user.image.store! File.open(path_to_file)
[Reference]:carrierwaveでローカルファイルを登録 #Rails - Qiita
That’s all from the Gemba.