プロジェクト

全般

プロフィール

« | » 

リビジョン e1ee6f8f

高徹 高橋 徹 さんが約6年前に追加

[phase-6]add relation to project to term and category models

差分を表示:

app/models/glossary_term.rb
class GlossaryTerm < ActiveRecord::Base
belongs_to :category, class_name: 'GlossaryCategory', foreign_key: 'category_id'
belongs_to :project
end

他の形式にエクスポート: Unified diff