mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
We were also patching ActiveRecord::Relation for the `#find_by_param` methods but we are not using those any more. They were deprecated a while ago. We now use `find_by(permalink: ...)`.
10 lines
213 B
Ruby
10 lines
213 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ApplicationRecord < ActiveRecord::Base
|
|
include DelegateBelongsTo
|
|
include Spree::Core::Permalinks
|
|
include Spree::Preferences::Preferable
|
|
|
|
self.abstract_class = true
|
|
end
|