Document pattern for .find_or_create and siblings

What does this MR do?

Adds documentation to recommend a pattern for using ActiveRecord's .find_or_create and similar methods.

Why was this MR needed?

Came across this a few times now. I think it's worth pointing that out explicitly.

Does this MR meet the acceptance criteria?

Edited by Yorick Peterse

Merge request reports

Loading