From c003ae99a4a04642279cebee51da780c9a71d126 Mon Sep 17 00:00:00 2001 From: Jared Beck Date: Thu, 2 Jul 2015 11:29:11 -0400 Subject: [PATCH] Docs: Break long lines [ci skip] --- lib/paper_trail/has_paper_trail.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/paper_trail/has_paper_trail.rb b/lib/paper_trail/has_paper_trail.rb index 31fbaf06..6c80a18c 100644 --- a/lib/paper_trail/has_paper_trail.rb +++ b/lib/paper_trail/has_paper_trail.rb @@ -266,11 +266,13 @@ module PaperTrail PaperTrail.whodunnit = current_whodunnit end - # Mimicks behavior of `touch` method from `ActiveRecord::Persistence`, but generates a version + # Mimicks behavior of `touch` method from `ActiveRecord::Persistence`, + # but generates a version # - # TODO: lookinto leveraging the `after_touch` callback from `ActiveRecord` to allow the - # regular `touch` method go generate a version as normal. May make sense to switch the `record_update` - # method to leverage an `after_update` callback anyways (likely for v4.0.0) + # TODO: look into leveraging the `after_touch` callback from + # `ActiveRecord` to allow the regular `touch` method go generate a version + # as normal. May make sense to switch the `record_update` method to + # leverage an `after_update` callback anyways (likely for v4.0.0) def touch_with_version(name = nil) raise ActiveRecordError, "can not touch on a new record object" unless persisted?