method
find_by!
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::FinderMethods
find_by!(arg, *args)public
Like #find_by, except that if no record is found, raises an ActiveRecord::RecordNotFound error.
find_by!(arg, *args)Like #find_by, except that if no record is found, raises an ActiveRecord::RecordNotFound error.