Added link_to, Not Proceeding

Hi zystvan,
I also stuck at same point. Even I added link_to. Then also I am not able proceeding.
My code is like:

    <% image_tag @destination.image %>
    <%= %>
    <%= @destination.description %>
    <%= link_to "See more", destination_path(@destination) %>

Hi @pravin_ruby,

<% ... %> is for Ruby code to be executed, but not shown. <%= ... %> is for Ruby code to be displayed on the screen.

Try using <%= image_tag %> for the image instead :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.