Ruby: "typeerror: no implicit conversion of type into othertype" issue

Example:

"Hello " + 5
This error is raised when you try to perform an operation between incompatible types.

Solution:

"Hello " + 5.to_s

Beginner's Guide to Ruby