spree/spree — pull request #3537 by huoxito (2013-08-10 16:29:29+00:00)
Title: Fetch deleted variant and product in line items

Suggested fix for both #3518 and #3534.

Any idea on how we could fetch a product from the line item using one query only? the same way `has_one :product, through: :variant` does.

ps. 2-0-stable need the fix as well