i know there is gotta be a way to get it... but i cant find it... this is gonna end up like h( ) nonetheless, can someone point me in the write direction? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org lists.rubyonrails.org/mailman/listinfo/rails
Cant find the reference in the docs/apis.... @request.env["USER_AGENT"] -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Sean T Allen Sent: July 26, 2005 11:16 AM To: rails mailing list Subject: [Rails] user agent... i know there is gotta be a way to get it... but i cant find it... this is gonna end up like h( ) nonetheless, can someone point me in the write direction?
On Jul 26, 2005, at 12:34 PM, Clayton Cottingham wrote:> Cant find the reference in the docs/apis.... > > @request.env["USER_AGENT"]Probably needs to be "HTTP_USER_AGENT", actually, and you might want to use "request" instead of "@request", but other than that, yah, dead on. :) - Jamis