Fixed tests + Altered migration file + Added reporting strings + Added update method
This commit is contained in:
parent
faf4c5aa7a
commit
d5f02968f6
14 changed files with 157 additions and 63 deletions
|
@ -1,6 +1,6 @@
|
|||
class IssueComment < ActiveRecord::Base
|
||||
belongs_to :issue
|
||||
belongs_to :user
|
||||
belongs_to :user, :class_name => "User", :foreign_key => :commenter_user_id
|
||||
|
||||
validates :body, :presence => true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue