-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where
clauses in has_* through:
scopes are not supported in history
#295
Labels
Comments
tagliala
changed the title
Where clauses in
Where clauses in May 25, 2024
has_one through
is not supported in historyhas_* through:
is not supported in history
tagliala
changed the title
Where clauses in
Where clauses in May 25, 2024
has_* through:
is not supported in historyhas_* through:
are not supported in history
tagliala
added a commit
that referenced
this issue
May 25, 2024
tagliala
changed the title
Where clauses in
May 27, 2024
has_* through:
are not supported in historywhere
clauses in has_* through:
scopes are not supported in history
Looks like that the preloader is creating this issue: chronomodel/lib/chrono_model/patches/relation.rb Lines 14 to 16 in 0addc9c
SELECT
"members".*
FROM
(
SELECT
"history"."members".*
FROM
"history"."members"
WHERE
(
'2024-06-01 17:35:36.306466' :: timestamp < @ history.members.validity
)
) "members"
INNER JOIN "councils" ON "members"."council_id" = "councils"."id"
WHERE
"councils"."country_id" = $1
AND "members"."active" = $2
LIMIT
$3 [[ "country_id",
1],
[ "active",
true],
[ "LIMIT",
1]] |
The problem is somewhere in the Preloader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Models
Seeds
Output in the present
Output in history
Test case
The text was updated successfully, but these errors were encountered: