On Jun 10, 4:54 pm, Dominic Rose
<li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.