How to preprocessing params when model create in rails?

前端 未结 0 907
醉梦人生
醉梦人生 2021-02-01 20:54

I have form and pass params:

user_params = { first_name: "Bob", last_name: "A" }

I have a User model which has f

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