socialforge/app/models/commit_issues.rb

6 lines
224 B
Ruby
Raw Normal View History

2016-12-01 14:21:40 +08:00
class CommitIssues < ActiveRecord::Base
attr_accessible :commit_id, :issue_id, :project_id
# 之所以没建立关联表主要是应为commit_id是直接通过api获取的不存在trustie端
has_many :issues
end