Forum: Ruby on Rails Proirty

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mohammad R. (Guest)
on 2006-04-21 09:21
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?
Mohammad R. (Guest)
on 2006-04-22 07:30
This topic is locked and can not be replied to.