mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2e14c53fc6
* Add `Enumerable#sole`, from `ActiveRecord::FinderMethods#sole` * distinguish single-item Enumerable and two-item with nil last Add a test for same. * add symmetry, against rubocop's wishes |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |