ebryn/ember-model — pull request #111 by lagartoflojo (2013-07-08 19:08:15+00:00)
Title: camelizeKeys works both ways

Currently, if camelizeKeys is true, Ember Model will camelize inbound keys from their underscore version, but when sending data to the server, the keys are sent in their camelized version, which is inconsistent. This commit makes toJSON format the keys in their underscored version if camelizeKeys is true.