[#4177] Added Contract associations.

This commit is contained in:
Eric Davis committed 2010-06-17 12:13:14 -07:00
1 parent 9d08bc9ef9
commit 1138616e77
2 files changed
+7

No files matched your search

+5
View File
@@ -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