andrew/split — pull request #190 by nfm (2013-07-30 23:57:29+00:00)
Title: Ensure request is defined before calling methods on it

In #is_robot? and #is_ignore_ip_address?, request is assumed to be accessible.
As a result, the Split::Helper module can only really be included in a
Controller context.

This commit removes that requirement by conditionally checking that request is
defined by attempting to call methods on it.