I am trying to detect Blackberry user agents in my app, which works fine in my development version. But nothing happens when I redeploy the app in production.
applic
Try:
request.user_agent
Are you using Apache or nginx in front of your mongrel(s)?
Are you logging the user_agent? This is from my nginx.conf:
log_format main '$remote_addr - $remote_user [$time_local] $request '
'"$status" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "http_x_forwarded_for"';