Link to destination

What is wrong with the link

This is @zystvan’s domain, from whom you may expect a quality answer. All I have is a question… Why are there duplicate files in your namespace?


Good eye, @mtf. I think removing the other show.html.erb (the one not currently open in the screenshot) should fix the issue. If it doesn’t, please copy/paste your code into a post here @igor644 (How do I format code in my posts?)


I deleted it. But post still not working. But when I change t in itteration by d . Program start to work. Strange things

1 Like

@igor644 Yes, you’ll need to use the correct iterator variable. An example:

<%= @destinations.each do |d| %>
  <%= %> <!-- `d` is our iterator variable -->
<% end %>
1 Like

This topic is solved.