On Jun 10, 4:54 pm, Dominic Rose <li...@ruby-forum.com> wrote: > Hello, > I'm having a problem to output things in the right order with erb1.9 > and lighttpd . I don't know if it's the normal behaviour 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 know wich function instead
Don't use puts in erb files - you're lucky it shows up in your browser at all Fred > of > puts would print test{123}? > > Thanks wery much > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.