method

find_or_create_by!

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

find_or_create_by!(attributes, &block)
public

No documentation available.

# File activerecord/lib/active_record/encryption/extended_deterministic_queries.rb, line 98
        def find_or_create_by!(attributes, &block)
          find_by(attributes.dup) || create!(attributes, &block)
        end