Skip to content

Object#returning deprecation warning #1

Open
samjohn opened this Issue Oct 27, 2010 · 1 comment

2 participants

@samjohn
samjohn commented Oct 27, 2010

When I perform a mongo query in rails 3 where I limit the return value to specified fields I get the following warning:

DEPRECATION WARNING:Object#returning has been deprecated in favor of Object#tap

I believe this is due to the fact that mongomatic uses the ruby driver gem mongo-1.0.8 rather than 1.0.9. Does anyone have a patch for this issue?

Thanks,
Sam

@jrwest
Owner
jrwest commented Nov 8, 2010

Sam,

I've got some free time coming up this week as I travel to RubyConf. Will try and patch this issue up then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.