neo4jrb/neo4j-core — pull request #125 by cheerfulstoic (2014-10-29 23:48:01+00:00)
Title: Sanitize params for when we get weird objects

Was having this problem with importing data from the twitter API. It sometimes returns Twitter::NullObject objects. I think that they're built with naught:

https://github.com/avdi/naught

Unfortunately you can't even do object.is_a?(::Twitter::NullObject), but I think that this solution will be nice in general. Can you think of any other sorts of objects that would go into params aside from these?