heroku/databasedotcom — pull request #76 by bradrobertson (2012-03-29 13:36:27+00:00)
Title: adding parent to child associations

I don't actually expect this pull request to be accepted because there are no tests. I'm more so looking for feedback and throwing it out there to anyone like @chadwtaylor who might find it useful.

This worked for me to get the [parent-to-child](http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_relationships.htm#i1422221) style associations to work. I'm not entirely familiar with the inner workings of the REST API so I might have missed something so as I say, feedback is welcome and of course tests will come (hopefully soon) but if anyone wants to add tests I'm all for it.

The only *real* changes are to the `record_as_hash` function, the rest of the diffs are whitespace changes only (my editor automatically removes trailing whitespace)