mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Pass type as keyword argument in serialize calls, as required from Rails 7.2 onwards. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
223 B
Ruby
9 lines
223 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ReportRenderingOptions < ApplicationRecord
|
|
self.belongs_to_required_by_default = false
|
|
|
|
belongs_to :user, class_name: "Spree::User"
|
|
serialize :options, type: Hash, coder: YAML
|
|
end
|