Link to destination


#1

What is wrong with the link


#2

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?


#3

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?)


#4

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


#5

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

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

#6

This topic is solved.