Updating movie app

I'm running into an error with my edit form. It says |f| is empty, but I've defined "edit" in the controller file. Also still having some trouble with validations. 
You have the right idea on this line but theres a slight syntax issue.
it should be:
`redirect_to @movie`