def attribute_diffs
      @attribute_diffs ||= begin
        changes           = self.object_changes.dup
        attribute_diffs   = {}

        # Compare each of object_b's attributes to object_a's attributes
        # And if there is a difference, add it to the Diff
        changes.each do |attribute, values|
          # values is [previous_value, new_value]
          diff = Diffy::Diff.new(values[0].to_s, values[1].to_s)
          attribute_diffs[attribute] = diff
        end

        attribute_diffs
      end
    end
def attribute_diffs
      @attribute_diffs ||= begin
        changes           = self.object_changes.dup
        attribute_diffs   = {}

        # Compare each of object_b's attributes to object_a's attributes
        # And if there is a difference, add it to the Diff
        changes.each do |attribute, values|
          # values is [previous_value, new_value]
          diff = Diffy::Diff.new(values[0].to_s, values[1].to_s)
          attribute_diffs[attribute] = diff
        end

        attribute_diffs
      end
    end
The attribute diffs for this version