Actioncontroller sans view


just wondering if theres a more idiomatic way to avoid the
`assert_existance_of_template_file’ error than passing an empty block to
render :update (or hacking up the actionview::base class). ive tried
various things like render :template => false/nil etc and havent seem to
found a magic trick…

i realize most times a controller would want a view but various cases
during development, as well as forwarding the controller data over local
pipes to audio daemons etc, sometimes the browser needs nothing in the
way of view updates


carmen wrote:

Try render :text :

Renders the clear text “hello world” with status code 200

render :text => “hello world!”