score.rb

Path: app/models/competitions/score.rb
Last Update: Mon Jul 05 09:18:27 -0700 2010

Tie a Competition Result to its source Result from a SingleDayEvent, and holds the points earned for the Competition

Example: John Walrod places 3rd in the Mudslinger Singlespeed race. This earns him points for both the Singlespeed BAR and the Ironman:

Singlespeed BAR Score

  • points: 22
  • source_result: 3rd, Mudslinger
  • competition_result: 18th Singlespeed BAR

Ironman Score

  • points: 1
  • source_result: 3rd, Mudslinger
  • competition_result: 200th Ironman

[Validate]