This computation should be moved onto the Movie model or somehwere other than a route. Routes have 1 job:

1. Respond to user input and direct it to the appropriate method
2. Render an ERB file

Right now this route is doing far too many things.