zevarito/mixpanel — pull request #62 by jochu (2012-12-21 19:26:29+00:00)
Title: People sets ip from env and allows setting of request properties, fixes issue 59

Sets the geolocation ip automatically based on the provided env.

For those who won't necessarily have a sane env around, I've also updated it so you can set the geolocation ip by doing:

```ruby
mixpanel.set {:distinct_id => "...", :ip => "127.0.0.1"}, {:status => "spiffy"}
```

This change is backward compatible - simply providing a distinct_id as the first argument will still work. This change does not apply to append_ series of methods because those will automatically use the javascript behavior.