im new to ruby and rails.
in RoR3 a controller inherits from the ActionController::Base
request.env["SERVER_ADDR"]
so request is a method in Base class (that is inside the ActionController module)?
what is env
then and ["SERVER_ADDR"]
?
would be great if someone could make a little code example...that would be very helpful to understand!
thanks!