On Thu, 2006-05-11 at 17:06 -0600, why the lucky stiff wrote:
> Rick Olson wrote:
> > respond_to do |accepts|
> >  accepts.html { out.write("size: #{status['size']}\nreceived:
> > #{status['received']}\n") }
> >  accepts.js do
> >    head['Content-Type'] = 'text/javascript'
> >    out.write("{size:#{status['size']},received:#{status['received']}}")
> >  end
> > end if status
> Let's get it checked in.  What about:
> 
>   respond_to do |accepts|
>     accepts.html { out.write("size: #{status['size']}\nreceived: 
> #{status['received']}\n") }
>     accepts.js { 
> out.write("{size:#{status['size']},received:#{status['received']}}") }
>   end if status
> 
> We're storing all the mimetypes, let's do a nice thing.

Hold up, don't check anything in.  I want to do this as a GemPlugin
people can add.  I'm also dead against including tons of Rails code.
Typically this ends up going really bad for the other frameworks as
demonstrated when Camping was doing AR and causing issues with Rails AR.

Let's coordinate this before shooting it into the main Mongrel core.


-- 
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/


_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to