Whitespace.
This commit is contained in:
parent
6f6cfb41d5
commit
cfc4de05a8
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue