{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/e94a065789007e8c3301ae1d726e6537?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e94a065789007e8c3301ae1d726e6537","url":"https://api.github.com/users/rbucker881","login":"rbucker881","id":882595},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-02T20:45:41Z","closed_at":"2011-11-02T20:45:41Z","comments":1,"url":"https://api.github.com/repos/und3f/mojox-redis/issues/3","body":"The examples in the DOC are incomplete. as-is they will not work with mojolocious. I finally found the missing piece. \r\n\r\nIn you mojolicious application you have to replace the default MojoX ioloop instance with the Mojolicious instance.\r\n\r\n```\r\nmy $redis = MojoX::Redis->new(server => '127.0.0.1:6379', ioloop => Mojo::IOLoop->new);\r\n```","html_url":"https://github.com/und3f/mojox-redis/issues/3","number":3,"title":"missing ioloop replacement in mojolicious examples","id":2126071,"created_at":"2011-11-02T20:30:12Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/143fe843df9dd2836a65933f409c3581?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"143fe843df9dd2836a65933f409c3581","url":"https://api.github.com/users/und3f","login":"und3f","id":168848},"updated_at":"2011-11-02T20:45:41Z","url":"https://api.github.com/repos/und3f/mojox-redis/issues/comments/2609385","body":"Good day.\r\n\r\nDocs are complete and designed to be run in a clean environment (just run code of SYNOPSIS section and you will see).\r\n\r\nBut thanks for getting my attention to this problem, I'll add documentation that will help to use MojoX::Redis in a Mojolicious environment.","id":2609385,"created_at":"2011-11-02T20:45:41Z"}}