Refactor get /movies route with activerecord