Better to put this directly in your `movie_params` method:

```ruby
  def movie_params
    params.require(:movie).permit(:title, :year, :superhero, :mpaa_rating, :synopsis, :director).merge(user: current_user)
  end
```