`variant.stock_items.where(stock_item_id: 123)` is...
# general
b
variant.stock_items.where(stock_item_id: 123)
is effectively what I would be doing. Reads a little silly, but gets the job done.