Rails 3 is currently sending a HEAD request to the corresponding GET route. Have a head? The method is on request, but returns false, and the request acts like a get request. Can I determine if a request is a HEAD request?
Reasoning: I get that the HEAD request should return the EXACT same headers as get, so Rails wants to execute a full GET and then shave off the body. However, I can match this query without causing the same DB calls, etc., that GET. It makes sense?
source share