# File lib/model-objects.rb, line 171 def serialized_form_of field, value return super unless INTERPOLATED_FIELDS.member? field if field == :log_events value.map do |time, who, what, comment| comment = @project.issues.inject(comment) do |s, i| s.gsub(/\b#{i.name}\b/, "{issue #{i.id}}") end [time, who, what, comment] end else @project.issues.inject(value) do |s, i| s.gsub(/\b#{i.name}\b/, "{issue #{i.id}}") end end end