no implicit conversion of string into integer ruby code example Example: no implicit conversion of String into Integer (TypeError) [1, 2, 3].first("two")