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
Is it possible to limit overriding the find(*args) method in the ActiveRecord::Relation to uuidable models?
My use case is I want to force the use of UUIDs when searching for a model. As an alternative, a new finder method can be created, however, I was looking to avoid that.
Thanks.
The text was updated successfully, but these errors were encountered:
Is it possible to limit overriding the
find(*args)
method in theActiveRecord::Relation
touuidable
models?My use case is I want to force the use of UUIDs when searching for a model. As an alternative, a new finder method can be created, however, I was looking to avoid that.
Thanks.
The text was updated successfully, but these errors were encountered: