From: Dominic Rose Date: 2010-06-10T23:59:42+09:00 Subject: How to print something with erb? Hello, I'm having a problem to output things in the write order with erb1.9 and lighttpd . I don't know if it's the normal comportement of erb but this is how it works for me: Content of my ERB file: test{<%= 1 %>2<% puts 3 %>} On my web browser I get this output: 3 test{12} puts or print comes before any text.. Do you wich function instead of puts would print test{123}? Thanks wery much -- Posted via http://www.ruby-forum.com/.