So I have the following:
flash[:success] = 'Your payment has completed. Please contact ' + @order.seller.name + ' (mobile: ' + @order.seller.mobile_number + ', email: ' + @order.seller.email + ')'
Strangely inside this method, I can’t seem to do string interpolation
it prints ‘@order.seller.name’. So that is a strange issue.
But the main thing that puzzles me is should I be replacing + with <<
I read somewhere the performance is better but I really hate seeing <<
my code. It just seems ugly and raises my blood pressure for some