Hey Guys,
I'm trying to upload a file to rails. I thought it would be pretty straightforward but I've run into a peculiar bug... the form I'm using is shown below and then the error message.... any suggestions or diagnostic hints would be appreciated. I'm running rails 2.0.2 and ruby 1.8.6
<form method="post" enctype="multipart/form-data" action="/page_assets"> <p> <label for="mugshot">Upload A Mugshot:</label> <input type="file" size="30" name="mugshot[uploaded_data]" id="mugshot_uploaded_data"/> </p> <p> <input type="submit" value="Create" name="commit"/> </p> </form>
</body></html>