Show More
Commit Description:
merge
Commit Description:
merge
References:
File last commit:
Show/Diff file:
Action:
app/models/contest.rb | 8 lines | 157 B | text/x-ruby | RubyLexer |
class Contest < ActiveRecord::Base
has_and_belongs_to_many :users
has_and_belongs_to_many :problems
scope :enabled, -> { where(enabled: true) }
end