If I am getting parent nodes via and outputting them as a sort of bread crumb list, how do I map both the name of the classification and id to bu8ild a link_to?
<% @parents.map(&:name).each do |parent| %>
<%= link_to parent, new_sr_path(class_id: parent, sub: :true), class: "form-control" %><svg ...</svg>
<% end %>
@parents = @classification.ancestors.to_a.reverse if params[:class_id].present?