gist reduction here: https://gist.github.com/4571746
I don't think this is a bug with the ruby driver, but I am hoping I can communicate it here and that it can get routed to the right channels.
After inserting a new document, the tailable cursor suddenly returns flags value of 1 from the server after calling next_document. The options related to OP_QUERY_AWAIT_DATA, :max being 1 (tried changing it to 100), :timeout true|false, nor the :order matter at all. It doesn't seem to be related to any of those options.