ActionController::ParameterMissing (param is missing or the value is empty: film):
I have got this problem too when I use Angular JS form to send data to backend Rails 4. When I did not fill anything in angular js form, the error will show ActionController::ParameterMissing (param is missing or the value is empty:. I fix it by adding params.fetch(:film, {}) the strong parameter into: params.fetch(:film, {}).permit(:name, … Read more