Whitespace.

This commit is contained in:
Andy Stewart 2012-03-12 14:00:24 +01:00
parent 6f6cfb41d5
commit cfc4de05a8
1 changed files with 2 additions and 1 deletions

View File

@ -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|