Files
openfoodnetwork/app/models/order_cycle_set.rb
Rob Harrington 18f7ec992d Refactor loading of OrderCycleSet in OrderCyclesController
This should result in a significant speed bump in saving order cycles in bulk, because only referenced OCs are loaded into the set, rather than OrderCycle.all
2018-04-04 17:17:36 +10:00

6 lines
131 B
Ruby

class OrderCycleSet < ModelSet
def initialize(collection, attributes={})
super(OrderCycle, collection, attributes)
end
end