So, I have a User has_many :profiles. The most recently dated profile is
considered the current one. I need to sort these users by name, but the
name attribute is a member of the associated table.
Is there any easy way to do this other than with some ugly find_by_sql?
Maybe a more general question - is there a common solution to sorting in