Editing images
<%= error_messages_for :images %>
<% form_for(:images, :url => images_path(@images), :html => { :method => :put }) do |f| %>
<%= submit_tag "Update" %>
<% end %>
<%= link_to 'Show', images_path(@images) %> |
<%= link_to 'Back', images_path %>