Fixed tests + Altered migration file + Added reporting strings + Added update method

This commit is contained in:
Shrey 2015-06-05 00:26:24 +05:30 committed by Matt Amos
parent faf4c5aa7a
commit d5f02968f6
14 changed files with 157 additions and 63 deletions

View file

@ -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