text_area_tag newline irritation
Yeah, well that’s not very helpful if you’re trying to count the characters in a text area and Rails is putting in a newline when you don’t want one.
2.1.2 :003 > helper.text_area_tag('test','test')
=> "<textarea name=\"test\" id=\"test\">\ntest</textarea>"
HAML doesn’t do this
%textarea string #=> "<textarea>string</textarea>"
%textarea= 'string' #=> "<textarea>string</textarea>"