I’m trying to mix in a module so that AR::Base will sort all record by
I’ve worked up a repo with a few methods of doing things similar to
but I can’t get this working as I want (I started with the rails project
There are three non-master branches on that project:
- is close but doesn’t work. This is close to what I want to get
working. Can anyone help me get this branch working?
- works but introduces an intermediate subclass
- puts the 'order by' directly in the mode. Works but requires
to each subclass.
Again, can anyone help me to make the changes to get the branch at
Thanks very much in advance,