I found this ticket on the subject, but don''t understand how the added
''output.write'' fixes the issue. Can anyone elaborate?
Thanks,
Zeff
http://dev.rubyonrails.org/ticket/3703
On Feb 28, 11:07 am, "Zeff"
<Zeff.Mor...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Here''s what I get from wget -S:
>
> HTTP request sent, awaiting response...
> HTTP/1.1 200 OK
> Date: Wed, 28 Feb 2007 15:52:06 GMT
> Server: Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a
> mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4
> FrontPage/5.0.2.2635.SR1.2 mod_ssl/2
> .8.28 OpenSSL/0.9.7a
> #<#<Class: 0x2a96d0b978>:0x2a96d0b928>Content-Type:
text/html;
> charset=utf-8
> Set-Cookie: _session_id=f160e8bb2ec0797e1ffca85e125d15f4; path=/
> Cache-Control: no-cache
> Connection: close
> Content-Type: text/plain
> Length: unspecified [text/plain]
>
> [ <=>
]
> 23,615 --.--K/s
>
> 10:52:10 ( 15.75 MB/s) - `registration'' saved [23615]
>
> I''ve even set an after_filter in application.rb to force the
header
> type like so:
>
> after_filter :set_charset
>
> def set_charset
> @headers["Content-Type"] = "text/html;
charset=utf-8"
> end
>
> All of my other pages render just fine ... but this is the only one I
> use a little RJS with. Is that related? And any idea on the ''
> #<#<Class: 0x2a96d0b978>:0x2a96d0b928>Content-Type: text/html;
> charset=utf-8'' line showing up? Looks like an object reference
...
> possibly being forced in with my set_charset method.
>
> Any help would be GREATLY appreciated.
>
> Thank you!
>
> Zeff
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---