In my form template I have this snippet:
<%= label f, :event_banner_image %>
<%= file_input f, :event_banner_image %>
<%= error_tag f, :event_banner_image %>
Creating a new event (from "/events/new") with one of these images works fine, but then when I go to edit the event the file input is empty. In a way, of course it is because the server doesn't know about the local path to the file that was uploaded. Even so, I wonder if I'm missing out on a way to make this a better experience.