Yes. It's a matter of precedence. The "Pickaxe" book describes it as
Single terms in an expression may be any of the following:
[some cases omitted]
Method invocation
That means that in +foo.gsub!("bar", "car"), the . of method invocation has higher precedence than the +, and so you need to use parentheses if you want to change the order of evaluation.