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

Version Path
query_diet-0.3.1 spec/app_root/app/controllers/query_diet_controller.rb
query_diet-0.3.0 spec/app_root/app/controllers/query_diet_controller.rb
query_diet-0.2.3 spec/app_root/app/controllers/query_diet_controller.rb
query_diet-0.2.2 spec/app_root/app/controllers/query_diet_controller.rb
query_diet-0.2.1 spec/app_root/app/controllers/query_diet_controller.rb
query_diet-0.2.0 spec/app_root/app/controllers/query_diet_controller.rb
query_diet-0.1.0 spec/app_root/app/controllers/query_diet_controller.rb