You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now if I do the following, there will be a request like Domain.find(1) does for every record, means a lot of overhead for informations which already have been fetched.
I think the problem is, that record.domain has not been set even though I accessed the Record-object coming from the Domain object.
Do you have any idea how to easily add this already fetched Domain object to the Record object?
The text was updated successfully, but these errors were encountered:
Hi
We have the following two models:
Now if I do the following, there will be a request like
Domain.find(1)
does for every record, means a lot of overhead for informations which already have been fetched.I think the problem is, that
record.domain
has not been set even though I accessed the Record-object coming from the Domain object.Do you have any idea how to easily add this already fetched Domain object to the Record object?
The text was updated successfully, but these errors were encountered: