When is the Rails request
object available at the earliest time during the request lifecycle? Essentially, when is the request first available as a request object, and in which object? ActionDispatch
?
Can you access request parameters from Tester::Application
? If so, how? If not, what about using the environment? When is that information set?
puts request
in a controller action and looking at the rails console. – Gefen