mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Adapt code to work with frozen strings
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module OpenFoodNetwork::Locking
|
||||
# http://rhnh.net/2010/06/30/acts-as-list-will-break-in-production
|
||||
def with_isolation_level_serializable
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Finds a unique permalink for a new or updated record.
|
||||
# It considers soft-deleted records which are ignored by Spree.
|
||||
# Spree's work:
|
||||
|
||||
Reference in New Issue
Block a user