how to give id to link in rails code example
Example: rails ink_to id
<%= link_to event, id: "an-id", class: "some-class" do %>
#bunch of stuff making up the partial.
<% end %>
<%= link_to event, id: "an-id", class: "some-class" do %>
#bunch of stuff making up the partial.
<% end %>