Sha256: 2b1895c8ca2b92b6a022fc9650d007dcb7663897f52dbc44c37da6aa18aea3a4

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

require 'rails/railtie'
require 'active_record'
require 'active_support'

module NotificationHandler
  class Railtie < Rails::Railtie
    initializer 'notification-handler.active_record' do
      ActiveSupport.on_load :active_record do
        include NotificationHandler::Target
        include NotificationHandler::Object
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notification-handler-1.2.6 lib/notification_handler/railtie.rb