Add application serializer
Add nested resource to rails routes and scoped query in candidate#index action in rails side