Fix to to_param for books_by_author