Closed chikugoy closed 8 months ago
I cannot reproduce this issue when the yaml file contains records with a key key
. Please double-check your data file, and if you think it's formed properly, please provide it here to help us reproduce! Thanks.
Are you able to rewrite as find_by(key: event_key)
?
That is the suggested rails way to lookup by a key.
Closing, but happy to reopen if @chikugoy is able to provide more information.
The following error may occur
The code for the target error class is as follows
Calling the above class as follows will result in an error
Errors are rare; most are handled successfully.