Sure.  I've narrowed it down to a code sample that sort of works, and
one that doesn't.

ruby version: ruby 1.8.5 (2006-09-06) [i386-netbsdelf]
camping gem: 1.5.180
mongrel (just in case): 0.3.13.4

My App name is 'Dreaming'.

This code sample will at least send 'test' to the browser:


module Dreaming::Controllers
  class ServerError
    def get(k,m,e)
      @status = 500
      'test'
    end
  end
end


This one will not send anything to the browser:

module Dreaming::Controllers
  class ServerError
    def get(k,m,e)
      @status = 500
      div do
        p "test"
      end
    end
  end
end

Thanks.  I'll keep digging myself to see if I can come up with anything.

On 1/9/07, why the lucky stiff <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 09, 2007 at 02:28:17PM -0500, Michael Gorsuch wrote:
> > I am doing things right, I just need to render a template instead of
> > output everything in the controller.
>
> Curious.  It should let ya.  Can you pass on the software versions
> you're using and i'll ticketize.
>
> _why
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
>
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to