|
|
|
@ -6,7 +6,7 @@ class Contest < ActiveRecord::Base
|
|
|
|
|
has_many :contesting_projects, :dependent => :destroy
|
|
|
|
|
has_many :projects, :through => :contesting_projects
|
|
|
|
|
has_many :contesting_softapplications, :dependent => :destroy
|
|
|
|
|
has_many :softapplications, :through => :contesting_softapplications
|
|
|
|
|
has_many :softapplications, :through => :contesting_softapplications, :dependent => :destroy
|
|
|
|
|
has_many :projects_member, :class_name => 'User', :through => :projects
|
|
|
|
|
has_many :journals_for_messages, :as => :jour, :dependent => :destroy
|
|
|
|
|
has_many :acts, :class_name => 'Activity', :as => :act, :dependent => :destroy
|
|
|
|
|