add class in anchor tag in ror code example Example: rails link to <%= link_to "Improve Your Ruby Skills", book_path(@book) %>