Change an || to ||= and made 50 the default per_page.