You can get params only in controllers.
You have to understand the differences between serializers and controllers. Also read other Rails essentials.
You can get params only in controllers.
You have to understand the differences between serializers and controllers. Also read other Rails essentials.