app/models/concerns/the_comments_commentable.rb
def denormalization_fields_changed?
    @title_field_changed = @trackable_commentable_title != commentable_title
    @state_field_changed = @trackable_commentable_state != commentable_state
    @url_field_changed   = @trackable_commentable_url   != commentable_url
    @title_field_changed || @url_field_changed || @state_field_changed
  end
# Can you make it better? I don't know how.
Can you make it better. I don't know how.
Can you make it better . I don ' t know how .
def denormalization_fields_changed?
    @title_field_changed = @trackable_commentable_title != commentable_title
    @state_field_changed = @trackable_commentable_state != commentable_state
    @url_field_changed   = @trackable_commentable_url   != commentable_url
    @title_field_changed || @url_field_changed || @state_field_changed
  end
def denormalization_fields_changed? @title_field_changed = @trackable_commentable_title != commentable_title @state_field_changed = @trackable_commentable_state != commentable_state @url_field_changed = @trackable_commentable_url != commentable_url @title_field_changed || @url_field_changed || @state_field_changed end
Can you make it better?
Can you make it better?