Questions tagged [rhom]
2 questions
0
votes
1 answer
RHOM Find Conditions (Ruby)
I have two Models, ELTeam and Rider which are linked by the attribute ELTeamID.
I am trying to parse the value ELTeamID via the
<%= url_for :action => 'filter_rider_by_team', :id => team.ELTeamId %>
My method is:
def filter_rider_by_team
rId =…

MattK
- 1
- 3
0
votes
0 answers
Rhom: Sorting a column after making all values to down case, but output as the original with case preserved
I have been trying to sort the output of select query based upon one column as like this,
users = User.find(:all, :select => ['name'], :order => ["name"], :orderdir => ["ASC"], :conditions => {:deleted => 'false'})
But this sorts the list based…

Ashis Kumar
- 6,494
- 2
- 21
- 36