When using active model serializers I found it was capitalising the _type columns and setting the alias to the capitalised singular avoided the "x already declared" errors.
Achievements
19
Karma
0
Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
When using active model serializers I found it was capitalising the _type columns and setting the alias to the capitalised singular avoided the "x already declared" errors.