-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Tell us about your environment
Ruby Version:
ruby-3.3.5
Rails Version:
8.0.0
PostgreSQL Version:
PostgreSQL 14.11 (Postgres.app) on aarch64-apple-darwin20.6.0, compiled by Apple clang version 12.0.5 (clang-1205.0.22.9), 64-bit
Logidze Version:
1.3.1
What did you do?
I'm trying to time-travel base on updated_at
, book.at(time: book.updated_at)
, but I looks like it is not working properly:
It's a simple dummy project User has many Books
, here is structure.sql
What did you expect to happen?
When I run book.at(time: book.updated_at)
I expect to get the latest version. (v3 in this case)
What actually happened?
I get second_to_last version (v2 in this case)
Metadata
Metadata
Assignees
Labels
No labels