Custom Field not working

You can get params only in controllers.

You have to understand the differences between serializers and controllers. Also read other Rails essentials.

2 Likes