0
我的代码是在这里在保存文件没有这样的文件或目录
File.open("#{Rails.root}/public/images/test.png","wb") do |file|
file.write(Base64.decode64(params[:image_data]))
end
它给了我们没有这样的文件或目录test.png我想在箱子图像文件夹test.png文件并存储数据和我的文件夹权限是写入,读取和访问