Re: [Rails] Extracting OS Name

2012-09-11 Thread Avi
Thanks a lot. I tried with another system & it is working. On Wednesday, September 12, 2012 2:00:09 AM UTC+5:30, Colin Law wrote: > > On 11 September 2012 20:30, Avi > > wrote: > > Hello, > > > > Thanks for the reply. > > I got correct solution for system os. But I am getting the ip as > 127

Re: [Rails] Extracting OS Name

2012-09-11 Thread Colin Law
On 11 September 2012 20:30, Avi wrote: > Hello, > > Thanks for the reply. > I got correct solution for system os. But I am getting the ip as 127.0.0.1 > which is default. > I tried a few solutions. but nothing seems to be working. All are giving me > same results. > How can I change the ipaddress

Re: [Rails] Extracting OS Name

2012-09-11 Thread Avi
Hello, Thanks for the reply. I got correct solution for system os. But I am getting the ip as 127.0.0.1 which is default. I tried a few solutions. but nothing seems to be working. All are giving me same results. How can I change the ipaddress to the current system;s ipaddress ? On Tuesday, Sept

Re: [Rails] Extracting OS Name

2012-09-11 Thread thiagocifani
http://mohitsharma.net/how-get-browser-operating-system-and-client-ip-rails 2012/9/11 Avi > Thanks a lot. It seems useful. I am going to try this. > > On Tuesday, September 11, 2012 8:09:59 PM UTC+5:30, Colin Law wrote: >> >> On 11 September 2012 15:18, Avi wrote: >> > Hello, >> > >> > From my

Re: [Rails] Extracting OS Name

2012-09-11 Thread Avi
Thanks a lot. It seems useful. I am going to try this. On Tuesday, September 11, 2012 8:09:59 PM UTC+5:30, Colin Law wrote: > > On 11 September 2012 15:18, Avi > > wrote: > > Hello, > > > > From my rails application, I have given a download button, which will > > download a file from the serv

Re: [Rails] Extracting OS Name

2012-09-11 Thread Colin Law
On 11 September 2012 15:18, Avi wrote: > Hello, > > From my rails application, I have given a download button, which will > download a file from the server. > At the time of downloading, I want to save the values of IP Address & Client > Type( from which OS - Mac/Windows/Linux & system it was down

[Rails] Extracting OS Name

2012-09-11 Thread Avi
Hello, >From my rails application, I have given a download button, which will download a file from the server. At the time of downloading, I want to save the values of *IP Address* & *Client Type*( from which OS - Mac/Windows/Linux & system it was downloaded ) to the database. Any ideas how can