Simple IRB Question regarding Count
- by Trip
I have a class called Deal.
Deal has vote_scores.
I would like to see how many vote_scores are in Deal that are greater than 2.
My guess :
for vote_scores 2 in Deal
count
end
Doesn't really work :D