6 lines
224 B
Ruby
6 lines
224 B
Ruby
|
class CommitIssues < ActiveRecord::Base
|
|||
|
attr_accessible :commit_id, :issue_id, :project_id
|
|||
|
# 之所以没建立关联表,主要是应为commit_id是直接通过api获取的,不存在trustie端
|
|||
|
has_many :issues
|
|||
|
end
|