mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
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
6 lines
131 B
Ruby
6 lines
131 B
Ruby
class OrderCycleSet < ModelSet
|
|
def initialize(collection, attributes={})
|
|
super(OrderCycle, collection, attributes)
|
|
end
|
|
end
|