Wiews/products/show.html.erb dodajmy <%= image_tag @product.avatar.url %> wdg.dokumentacji, a w _form.html.erb <%= form_for @product, :html => { :multipart => true } do |f| %>, oraz <div><%= f.file_field :avatar %></div>