Adapt code to work with frozen strings

This commit is contained in:
Luis Ramos
2020-11-24 19:20:30 +00:00
committed by Andy Brett
parent 611de912a8
commit bfd4adbcee
4 changed files with 11 additions and 5 deletions

View File

@@ -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

View File

@@ -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: