Sha256: 638e282ed46160d70a9d29d238cbda409790e81905aae54a6df8197d5d3a004a

Contents?: true

Size: 410 Bytes

Versions: 11

Compression:

Stored size: 410 Bytes

Contents

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

11 entries across 11 versions & 1 rubygems

Version Path
notification-handler-1.2.5 lib/notification_handler/railtie.rb
notification-handler-1.2.4 lib/notification_handler/railtie.rb
notification-handler-1.2.3 lib/notification_handler/railtie.rb
notification-handler-1.2.2 lib/notification_handler/railtie.rb
notification-handler-1.2.1 lib/notification_handler/railtie.rb
notification-handler-1.2.0 lib/notification_handler/railtie.rb
notification-handler-1.1.2 lib/notification_handler/railtie.rb
notification-handler-1.1.1 lib/notification_handler/railtie.rb
notification-handler-1.1.0 lib/notification_handler/railtie.rb
notification-handler-1.0.0 lib/notification_handler/railtie.rb
notification-handler-1.0.0.beta11 lib/notification_handler/railtie.rb