lib/paper_trail/record_trail.rb
# Returns the objects (not Versions) as they were between the given times.
Returns the objects (not Versions) as they were between the given times.
Returns the objects ( not Versions ) as they were between the given times .
def versions_between(start_time, end_time)
      versions = send(@record.class.versions_association_name).between(start_time, end_time)
      versions.collect { |version|
        version_at(version.send(PaperTrail.timestamp_field))
      }
    end
def versions_between ( start_time , end_time ) versions = send ( @record . class . versions_association_name ) . between ( start_time , end_time ) versions . collect { | version | version_at ( version . send ( PaperTrail . timestamp_field ) ) } end
Returns the objects (not Versions) as they were between the given times.
Returns the objects ( not Versions ) as they were between the given times .
start_time
<not_specific>
end_time
<not_specific>