ActionController::ParameterMissing (param is missing or the value is empty: film):

后端 未结 3 996
轻奢々
轻奢々 2020-12-01 14:34

So, I\'m getting the following error when trying to visit the films page on my app:

ActionController::ParameterMissing (param is missing or the value is empt         


        
3条回答
  •  无人及你
    2020-12-01 15:15

    Why not use so:

    def creation_params
    params.permit(:film)
    end
    

    It working for me! ;)

提交回复
热议问题