Displaying 2 results from an estimated 2 matches for "output_compression".
2006 Mar 29
1
Fixing output_compression for Rails 1.1
With Rails 1.1 the output_compression[1] plugin was broken.
Once I upgraded to 1.1, I had to tweak it a bit to make it work.
Mainly it''s removing the code dealing with component requests, as
that''s part of rails now, and changing one function call.
Get the modified output_compression.rb file from
http://devblog.famu...
2006 Apr 03
0
Making output_compression work with send_file
While working with the newly fixed output compression plugin, one of
the devs in my team discovered that it breaks with send_file(). So if
you are using send_file() in your application you must get the fixed
file I''ve put at: http://devblog.famundo.com/output_compression.rb.
The change is actually in checking for the Content-Disposition header
added by send_file(). See the full writeup in my blog:
http://devblog.famundo.com/articles/2006/04/03/one-more-fix-in-output_compression.
Enjoy!
Guy.
--
Family management on rails: http://www.famundo.com - coming soon!
My...