Sha256: c900c1aa0982914c31fd8f7d3c59f1962c088a74ce413eeac7a028f64e282d51
Contents?: true
Size: 394 Bytes
Versions: 7
Compression:
Stored size: 394 Bytes
Contents
# frozen_string_literal: true module Infield class Railtie < Rails::Railtie initializer 'infield.deprecation_warnings', after: 'active_support.deprecation_behavior' do |_app| ActiveSupport::Notifications.subscribe('deprecation.rails') do |_name, _start, _finish, _id, payload| Infield::DeprecationWarning.log(payload[:message], validated: true) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems