According to paragraph 2.2.8 in the Ruby on Rails Guides, rendering json can be done using 'render :json => jsondata'.
This does not work in RhoMobile. The closest thing is 'render :string => jsondata', but this still renders html, because the result is enclosed in <div> tags. Adding ":content_type => 'application/json'" does not seem to make a difference.
How can a controller method be changed to return json data?
I would want to use this to do AJAX calls from the application.