add search params to a link_to rails code example Example: rails link_to class <%= link_to "Get More Books", books_path, class: "index-link" %>