app/models/unidom/order/order_item.rb in unidom-order-0.1 vs app/models/unidom/order/order_item.rb in unidom-order-0.2
- old
+ new
@@ -18,6 +18,8 @@
scope :order_is, ->(order) { where order_id: (order.respond_to?(:id) ? order.id : order) }
scope :ordered_is, ->(ordered) { where ordered: ordered }
scope :placed_by, ->(placer) { where placer: placer }
+ include Unidom::Common::Concerns::ModelExtension
+
end