Rails Adding Attributes to JSON Serializer

后端 未结 0 753
伪装坚强ぢ
伪装坚强ぢ 2020-12-18 06:58

I had a model that should be rendered as JSON, for that I used a serializer

class UserSerializer
  def initialize(user)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题