The pull request with all the code.

without getting into a huge in depth description of all the changes, I think this looks better for this method:

``` ruby
def create
  rating = current_user.ratings.new(rating_params) # this will work once you set up the relationships correctly
  if rating.valid?
    redirect_to movie_path(id: rating.rottentomatoes_id),
      notice: 'Rating was successfully created.'
  else
    redirect_to movie_path(id: rating.rottentomatoes_id),
      alert: 'Please select a rating.'
  end
end