Changed url_options to default_url_options
Changed per_page to app default