lib/magento/order_item.rb in magentor-0.2.2 vs lib/magento/order_item.rb in magentor-0.2.3
- old
+ new
@@ -16,10 +16,10 @@
def id
self.item_id
end
def order
- Order.info(self.order_id)
+ Order.find_by_id(self.order_id)
end
def product
Product.find_by_id_or_sku(self.product_id)
end
\ No newline at end of file