Can someone please point me to where I can find the party-line on determining the user''s browser in order to write browser-dependent code? With Rails doing so many things for me, I want to avoid getting caught up in trying to hack my way through an issue that Rails has already settled. Thanks for any input. ... doug --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Doug, You can get the browser info by calling request.env[''HTTP_USER_AGENT''] -- Thiago Jackiw acts_as_solr => http://acts-as-solr-rubyforge.org Sitealizer Web Stats => http://sitealizer.rubyforge.org On Apr 3, 5:56 pm, "doug" <ddjol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Can someone please point me to where I can find the party-line on > determining the user''s browser in order to write browser-dependent > code? With Rails doing so many things for me, I want to avoid getting > caught up in trying to hack my way through an issue that Rails has > already settled. Thanks for any input. > > ... doug--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> You can get the browser info by calling request.env[''HTTP_USER_AGENT'']Thanks. ... doug --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---