I want to make a program that will use priorty measures as to which
result should show up first.

So I know of to make a program that searches for keywords to see if its
a repreat question or very simliar. But it should still be awnsered so I
have when_was_it_sent on the SQL database, I want it to take both of
those into consederation then be able to run it like this…

Index -
<% for qna in @qnas %>
<% if qna.awnser == nil %>
<% render(:action => “priorty_renderer”) %> #returns Priroty points in
<% qna.priorty_points = $pp %>
<% %>
<% end %>
<% end %>

Can anyone help?