Open ruebenramirez opened 8 years ago
https://www.reddit.com/r/ruby/comments/2lcldk/activemodelserializers_vs_jbuilder/ the general response to AMS is that it's not fully baked yet
jbuilder -> AMS upgrade tutorial -- http://techblog.thescore.com/2015/11/27/jbuilder-to-ams-a-tested-journey/
having gone through this tutorial, I better understand a point mentioned in a reddit comment (- [ ] TODO: link to reddit comment) that AMS is great for serializing JSON to reflect the database configuration...and that jbuilder is a better fit in cases where you need to further customize the API
Knowing this, I feel more confident with the flexibility that jbuilder brings to the show given that requirements tend to change on projects mid-stream...
rails hasn't determined what the default serializer will be in rails 5.
they're holding off until 5.1 for AMS (or whatever other options they're considering) https://github.com/rails/rails/commit/f8edd2043e864aff0bde9289da550709532268a6
get jbuilder to render properly in the rails 4 rails-api gem: http://stackoverflow.com/a/26848821