class RaceObserver

Public Instance Methods

after_update(race) click to toggle source
# File app/models/observers/race_observer.rb, line 2
def after_update(race)
  Result.update_all [ "race_name = ?, race_full_name = ?", race.name, race.full_name ], [ "race_id = ?", race.id]    
end