method
find_by!
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::Core::ClassMethods
find_by!(*args)public
No documentation available.
# File activerecord/lib/active_record/core.rb, line 210
def find_by!(*args) # :nodoc:
find_by(*args) || raise(RecordNotFound.new("Couldn't find #{name}", name))
end