Exception: Enumerable::SoleItemExpectedError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
StandardError
|
|
Instance Chain:
self,
StandardError
|
|
Inherits: |
StandardError
|
Defined in: | activesupport/lib/active_support/core_ext/enumerable.rb |
Overview
Error generated by #sole when called on an enumerable that doesn’t have exactly one item.