method
find_by!
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Core::ClassMethods
find_by!(*args)public
No documentation available.
# File activerecord/lib/active_record/core.rb, line 329
def find_by!(*args) # :nodoc:
find_by(*args) || where(*args).raise_record_not_found_exception!
end