rails4 报错Calling URL helpers with string keys controller, action is deprecated. Use symbols instead解决方法

1、params.except(:controller, :action)

2、params.slice(:id, :name, :email, :mobile, 、、、、、、)

猜你喜欢

转载自www.cnblogs.com/lv-books/p/12658588.html