gem for json 1.active_model_serializers To format into Json API style , follow the steps here 1.create a new initializer file in config/initializers, eg.config/initializers/active_model_serializer.rb 2.ActiveModelSerializers.config.adapter = :json_api <-- Add the following line into file 3.This will return our data in the JSON API recommended spec.
-
Notifications
You must be signed in to change notification settings - Fork 0
sanki4489/Rails_Json_API_demo_working
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published