Milestone basic scaffold

This commit is contained in:
Dmitriy Zaporozhets 2012-04-09 00:28:58 +03:00
parent 667edcdd75
commit 23d950855d
28 changed files with 424 additions and 36 deletions

View file

@ -1,5 +1,6 @@
class Issue < ActiveRecord::Base
belongs_to :project
belongs_to :milestone
belongs_to :author, :class_name => "User"
belongs_to :assignee, :class_name => "User"
has_many :notes, :as => :noteable, :dependent => :destroy