Ruby

Ruby

Made by DeepSource

Interpolation in a single-quote string RB-LI1030

Bug risk
Major

Interpolations do not work in single-quote strings. Double quotes must be used.

Bad practice

foo = 'something with #{interpolation} inside'

Recommended

foo = "something with #{interpolation} inside"