Good post but please, please, please don't enable this in productiont. What an extremely wonderful way to DDoS any Rails app (as if it weren't easy enough already). If you need production like characteristics for accuracy of profiling then set up another environment that is production-like (Rails settings, replicated database, infrastructure etc.) and run it there.