I am having a problem with Attachment_fu. I have some code that’s based
on the code from the Mark Clark tutorial. Everything works fine on
firefox but on Internet Explorer it doesn’t. I click the upload button
and nothing happens. There is no error and it seems no processing takes
place. The development log seems to comfirm this. Any idea what is the
problem? I am using ruby 1.8.6 and rails 2.0.2.
Everything works fine on firefox but on Internet Explorer it doesn’t. I click the upload button
and nothing happens. There is no error and it seems no processing takes
place.
So it seems the form is never even submitted? Could you post the
relevant form HTML your view creates?
Jan
Jan-Christian F. wrote:
Everything works fine on firefox but on Internet Explorer it doesn’t. I click the upload button
and nothing happens. There is no error and it seems no processing takes
place.So it seems the form is never even submitted? Could you post the
relevant form HTML your view creates?Jan
The erb file is:
<%= error_messages_for :photo %>
Fotos Agregados
<%= render :partial => 'thumbpic', :collection => @thumbpics unless @thumbpics.nil? == true %> </div<% form_for(:photo, :html => { :multipart => true }) do |f| -%>
Cargar Foto: <%= f.file_field :uploaded_data %>
<%= submit_tag 'Cargar' %>
<%= link_to ‘Terminar’, :controller => ‘apartments’, :action => ‘list’
%>
<% end -%>
The generated html is:
Alojamientos PueblaI’ve found the problem. Thanks. I was missing a ‘>’ for one of my
closing div tags.