I am trying to do file i/o with rails and rjb and can't figure out a way to make this work. Here's what I am trying to do: - a user uploads an image to the server via a standard html form: <%= file_field("blog", "attach") %> - this returns a ruby File object to the controller in params[:blog][:attach]
Are you POSTing the "standard form"? Or by RJS do you mean you are trying to use Ajax?
Standard Ajax cannot send a file. Try this system: