File field

I have a very simple form with only an Input of type file
<%= file_field “image”, “file” %>

whenever I choose a file and click on “Create”

I get the following error “No such file or directory”

checking the parameters values show that a slash has been added to the
file path and name

the file I chose = C:\1.jpg

what Rails is telling me it couldn’t find C:\1.jpg

Why is this? and whats the solution? Platform is

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs