set_default_order appears to be broken in Hobo 1.3
Reported by Bryan Larsen | January 6th, 2012 @ 09:42 PM
I'm converting an old app to use Rails3, and it broke on
set_default_order: I get an SQL error because it tries to send
ORDER BY default
rather than ORDER BY updated_at
DESC
as I expected.
Since it doesn't appear to have triggered bug reports, we should
probably just remove it and point people at
default_scope
.
Comments and changes to this ticket
-
Bryan Larsen January 6th, 2012 @ 09:46 PM
Oops, I had something else that was adding the "ORDER BY default". However
set_default_order
is still broken -- it doesn't do anything.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป