Show More
Commit Description:
- add compiler comment...
Commit Description:
- add compiler comment - fix error when problem is not present (grafted from 5dcd02c21a697ca0a770d0aab8380eacc42eba04)
File last commit:
Show/Diff file:
Action:
app/models/contest.rb | 8 lines | 163 B | text/x-ruby | RubyLexer |
class Contest < ActiveRecord::Base
has_and_belongs_to_many :users
has_and_belongs_to_many :problems
scope :enabled, :conditions => {:enabled => true}
end