I am building a custom image upload form in Rails 3 (paperclip / carrierwave is not an option for our setup) and need to do the classic "persist image on validation fail" scenario. What is the "best practice" way to do this in Rails 3?
Summary:
- User fills out form with image
- User click "send form"
- Form validation fails
- User should now see the image they uploaded in the form and not need to select it again