Thanks for the help! Although I'm not sure I totally understand it, 
still a bit of a noob. So if I wanted to do something as simple as 
subtract the user's handicap from the course's handicap, how would I 
create a method for that in the Player model? (sorry maybe you might 
have done it already but I'm not sure what .gt and .lt mean)

Basically something like

class Player

def handicaps_difference
   Course.handicap - handicap (from the player)
end

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to