Show More
Commit Description:
update syntax of form_for to rails 3.2.8...
Commit Description:
update syntax of form_for to rails 3.2.8 (grafted from 17d48b004affe1e1dd4a981d9beef9d61ce83078)
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