Sha256: cc132a95386855ff62b51b0c5381459a62e47768101bb5c7b011b15b41702110
Contents?: true
Size: 411 Bytes
Versions: 20
Compression:
Stored size: 411 Bytes
Contents
# frozen_string_literal: true require "json" module Statesman module Adapters module ActiveRecordTransition DEFAULT_UPDATED_TIMESTAMP_COLUMN = :updated_at extend ActiveSupport::Concern included do serialize :metadata, JSON class_attribute :updated_timestamp_column self.updated_timestamp_column = DEFAULT_UPDATED_TIMESTAMP_COLUMN end end end end
Version data entries
20 entries across 20 versions & 1 rubygems