Sha256: 39defa1b2219968c18024210145d3ec83b45abbdb3828fe89e4e16d0f0961057
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true module AuditTracker # Auto injects the ::AuditTracker::ModelHelper into ActiveRecord classes # class Railtie < Rails::Railtie railtie_name :audit_tracker initializer "audit_tracker.initialize_model_helper" do ActiveSupport.on_load(:active_record) do extend ::AuditTracker::ModelHelper end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
audit_tracker-0.1.0 | lib/audit_tracker/railtie.rb |