<% @gend_images.each do |gi| %>
<%=link_to gi.id, gi %>
<% end %>

<% @gend_images.each do |gi| %>
<%= link_to gi.id_hash,
  :controller => :gend_images,
  :action => :show,
  :id => gi.id_hash %>
<% end %>

Use id_hash in gend_image index view.
Use id_hash in gend_image index view.
