rails ink_to id code example
Example 1: rails link to
<%= link_to "Improve Your Ruby Skills", book_path(@book) %>
Example 2: rails ink_to id
<%= link_to event, id: "an-id", class: "some-class" do %>
#bunch of stuff making up the partial.
<% end %>