has_one
with no_attributes? true
and from_many? true
does not apply limiting to the query
#239
Labels
bug
Something isn't working
Describe the bug
It is the same issue like #173. Having the following relationship:
Ignores
from_many?: true
and assigns a list of all records. I can see that the SQL query does not include theLIMIT
statement.Expected behavior
It should include
LIMIT 1
in the SQL query and make the relationship refer to a single entity.Runtime
The text was updated successfully, but these errors were encountered: