Rectangle 27 0

ruby CarrierWave File Uploads not working in rails?


def filme_params
  params.require(:filme).permit(:name, :moviestype, :image) ## Add :image attribute
end
params.fetch(:fileme, {})

As per the error logs, you have not permitted image to be saved in the database. In your FilmesController, you need to permit :image as

Note