Sha256: 710776402fc1444fd163835a390e3738ae55e32966ca833d548cb075c91abc6e
Contents?: true
Size: 346 Bytes
Versions: 7
Compression:
Stored size: 346 Bytes
Contents
class QueryDietController < ApplicationController layout 'screen' def no_query end def two_queries Movie.create! Movie.all end def no_body_tag render :text => "no body tag", :content_type => "text/html" end def yaml render :text => { :foo => '<body></body>' }.to_yaml, :content_type => 'text/yaml' end end
Version data entries
7 entries across 7 versions & 1 rubygems