Raised when Active Record finds multiple records but only expected one.
Source: show | on GitHub
# File activerecord/lib/active_record/errors.rb, line 149 def initialize(record = nil) @record = record super "Wanted only one #{record&.name || "record"}" end