mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Pump papertrail version to 6.0.2
This commit is contained in:
parent
ad46e08f32
commit
a18f7b1605
12 changed files with 19 additions and 16 deletions
|
@ -55,7 +55,7 @@ module Versions
|
|||
|
||||
module ClassMethods
|
||||
def all_versions_for(ids, time)
|
||||
ver_klass = paper_trail_version_class
|
||||
ver_klass = paper_trail.version_class
|
||||
from_history = ver_klass.where(item_id: ids.to_a).
|
||||
order(:item_id).
|
||||
preceding(time + 1, true).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue