1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix some spelling errors in Action Controller guide

This commit is contained in:
James Miller 2009-02-06 07:44:34 -08:00
parent 0d92746eea
commit 984fbba5e8

View file

@ -76,7 +76,7 @@ class ClientsController < ActionController::Base
if params[:status] = "activated"
@clients = Client.activated
else
@clients = Client.unativated
@clients = Client.unactivated
end
end
@ -540,7 +540,7 @@ The request object contains a lot of useful information about the request coming
* get?, post?, put?, delete?, head? - Returns true if the HTTP method is GET/POST/PUT/DELETE/HEAD.
* headers - Returns a hash containing the headers associated with the request.
* port - The port number (integer) used for the request.
* protocol - Returns a string containing the prototol used plus "://", for example "http://"
* protocol - Returns a string containing the protocol used plus "://", for example "http://"
* query_string - The query string part of the URL - everything after "?".
* remote_ip - The IP address of the client.
* url - The entire URL used for the request.