Problem:

When I try the rails example project ''rottenpotatoes'' on the SaaS book by Fox and Petterson,  I had problem running the "create" and "update" methods on the webpage. As figure shows, when I click button "Save Changes", it calls the Movie.update function and throws out an error "ActiveModel::ForbiddenAttributesError"