From cfc4de05a83de86126551caee04c72c749dbbc8c Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Mon, 12 Mar 2012 14:00:24 +0100 Subject: [PATCH] Whitespace. --- lib/paper_trail/version.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/paper_trail/version.rb b/lib/paper_trail/version.rb index 420b610f..f1cc6496 100644 --- a/lib/paper_trail/version.rb +++ b/lib/paper_trail/version.rb @@ -17,7 +17,8 @@ class Version < ActiveRecord::Base scope :following, lambda { |timestamp| # TODO: is this :order necessary, considering its presence on the has_many :versions association? - where(["#{PaperTrail.timestamp_field} > ?", timestamp]).order("#{PaperTrail.timestamp_field} ASC, #{self.primary_key} ASC") + where(["#{PaperTrail.timestamp_field} > ?", timestamp]). + order("#{PaperTrail.timestamp_field} ASC, #{self.primary_key} ASC") } scope :between, lambda { |start_time, end_time|