[#4177] Added Contract associations.
This commit is contained in:
1 parent
9d08bc9ef9
commit
1138616e77
2 files changed
+7
No files matched your search
@@ -1,3 +1,8 @@
|
||||
class Contract < ActiveRecord::Base
|
||||
unloadable
|
||||
|
||||
# Associations
|
||||
belongs_to :project
|
||||
belongs_to :account_executive, :class_name => 'User', :foreign_key => 'account_executive_id'
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user