chaining objects in activeRecord, and accessing attributes from parent

Say I have Users table, and the user has many :items, if I define a
method in the Item model say, def so I can return all green
items that belong to a user, I might use with_scope. fine, so I use
like this:

But what if there is a preferences table so the user wants the items
to be displayed in ascending order only, how would I access that from
the def method in the items model?

So, I called, and I want to access user.preferences
from the items model. Is this possible?