@uneaten_bananas
is an integer, say, and
<%=link_to "Get Bag",get_bag_for_uneaten_bananas_fruitstand_index_path(id:@sale_ticket.id),remote: true%>
I need a rogue collection select 1..@uneaten_bananas for user to pick how many uneaten bananas they want put in the bag, and I need to put that number as a parameter in the link_to ..?
Normally there’d be a form involved, but I’m updating attributes on various bananas after putting them in the bag, for example, not updating any one instance.