Sha256: ad9c60f5222f021f0ba63a63c5d65cc504dea77ec9fb930db0b250e01f607b9a
Contents?: true
Size: 357 Bytes
Versions: 172
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true module Motor class ApplicationRecord < ActiveRecord::Base self.abstract_class = true self.table_name_prefix = 'motor_' def self.audited(*args) default_class = Audited.audit_class Audited.audit_class = Motor::Audit super ensure Audited.audit_class = default_class end end end
Version data entries
172 entries across 172 versions & 2 rubygems