heroku/databasedotcom — pull request #28 by javierjulio (2011-11-05 00:32:45+00:00)
Title: Add exclusions support for sobject save

The save method on the Sobject class now has support for an options hash. If an exclusions key is provided, any fields found in that exclusions list is removed from the ```attr_hash``` variable before the save call is sent. This is one attempt to fixing issue #16 where a Name field can't be saved on an Account with a record type of Person Account. I figured it was best to avoid anything specific to that case and just offer something general that is optional and can be set on a case by case basis. I'm more than happy to change it if others have suggestions.