Ruby on Rails question – where is the first point in rails code that a request hits?
(I can then add some logging code there as I want to measure some response times)
Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out this Railscast on Rack Middleware that will give you exactly that. Rack is the first place that a Rails 2.3+ app has requests hit and it handles the round trip of the request.