kissmetrics/km — pull request #14 by eskfung (2012-10-10 01:08:11+00:00)
Title: By default, push events to tracking servers, even when :env=development

We've gotten enough feedback suggesting that working in :env=development should
work out of the box, without any hidden 'gotchas' that it just logs your
queries to a file. Developers should be smart enough to use a Dev API key if
they're initializing KM with :env=development, and so just want to see whether
the data enters KM.

So with the :dryrun option, the logic goes:

1. If you really want a dry-run, then just log that the events happen and
nothing else
2. In any other scenario (dev or production environment equally), process and
send the events to trk.kissmetrics.com