Can't mass-assign protected attributes

后端 未结 4 420
一整个雨季
一整个雨季 2021-02-05 02:53

Updating the code formatting for better viewing.

Folks,

I have been looking at this for sometime but I don\'t understand what could be messing up here. I am usin

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 03:16

    Nowadays (April 2013) you should start to use https://github.com/rails/strong_parameters

提交回复
热议问题