I have a model for users and another model for linenumbers and I have
some code that looks like:
@user.linenumbers.each do |line|
and it loops through a user and their line numbers. What if I want to
order this list, is there a way to do that?
I know I could just put these linenumbers into an a find statement in my
controller and order it that way, but I would rather not do that way.