Exception: Enumerable::SoleItemExpectedError

Inherits:
StandardError
  • Object
show all
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.