Methods
C
G
M
P
R
S
Instance Public methods
get()
# File actionpack/test/controller/integration_test.rb, line 245
def get
  respond_to do |format|
    format.html { render :text => "OK", :status => 200 }
    format.js { render :text => "JS OK", :status => 200 }
    format.xml { render :xml => "<root></root>", :status => 200 }
    format.rss { render :xml => "<root></root>", :status => 200 }
    format.atom { render :xml => "<root></root>", :status => 200 }
  end
end
get_with_params()
# File actionpack/test/controller/integration_test.rb, line 255
def get_with_params
  render :text => "foo: #{params[:foo]}", :status => 200
end
method()
# File actionpack/test/controller/integration_test.rb, line 263
def method
  render :text => "method: #{request.method.downcase}"
end
post()
# File actionpack/test/controller/integration_test.rb, line 259
def post
  render :text => "Created", :status => 201
end
redirect()
# File actionpack/test/controller/integration_test.rb, line 282
def redirect
  redirect_to action_url('get')
end
remove_header()
# File actionpack/test/controller/integration_test.rb, line 286
def remove_header
  response.headers.delete params[:header]
  head :ok, 'c' => '3'
end