How do I check if an entry exists before saving?
Someone one told me to use the method find_or_create (or something like
but it didn’t work because I think the version of rails that we have is
not the most recent.
I need a way to check if an id exists in the db before saving. Any