How to override :order defined in a has_many June 4, 2023 by Tarik Use reorder: Authors.books.reorder('name DESC')