allow active_record_pagination to receive uri