11 lines
346 B
Ruby
11 lines
346 B
Ruby
class OrgSubfield < ActiveRecord::Base
|
|
belongs_to :organization, :foreign_key => :organization_id
|
|
has_many :org_document_comments, :dependent => :destroy
|
|
has_many :files
|
|
has_many :org_subfield_messages, :dependent => :destroy
|
|
has_many :messages, :through => :org_subfield_messages
|
|
acts_as_attachable
|
|
|
|
def project
|
|
end
|
|
end |