loadsys / CakePHP-Serializers

A solution to serialize CakePHP response to JSON and correspondingly deserialize JSON into CakePHP data arrays, designed primarily around building REST APIs with Ember and Ember Data.
MIT License
6 stars 1 forks source link

Sideloaded Objects For A Model Should Always Be Pluralized, When ActiveRecord Expects Them To Be So #80

Closed justinyost closed 9 years ago

justinyost commented 9 years ago

Use Model relationships to determine which records should be pluralized or not.

Should also ensure that the sideloaded record is an array of objects.