ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

0001-441-Updating-issue-on-comments-with-less-undesired-s.patch

Gregor Schmidt, 2011-07-28 05:31 pm

Download (1.1 kB)

 
b/app/models/journal.rb
28 28
  # subclasses will be given an actual class name when they are created by aaj
29 29
  #
30 30
  #  e.g. IssueJournal will get :class_name => 'Issue'
31
  belongs_to :journaled, :touch => true, :class_name => 'Journal'
31
  belongs_to :journaled, :class_name => 'Journal'
32 32
  belongs_to :user
33 33

  
34
  after_create proc { |record| record.journaled.touch }
35

  
34 36
  # ActiveRecord::Base#changes is an existing method, so before serializing the +changes+ column,
35 37
  # the existing +changes+ method is undefined. The overridden +changes+ method pertained to
36 38
  # dirty attributes, but will not affect the partial updates functionality as that's based on
37
-