Forum: Ruby on Rails actioncontroller sans view

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Carmen -. (Guest)
on 2006-03-11 05:04
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
Jason E. (Guest)
on 2006-03-11 19:03
(Received via mailing list)
carmen wrote:
Try render :text :

# Renders the clear text "hello world" with status code 200
  render :text => "hello world!"


This topic is locked and can not be replied to.