Sha256: 67dcb6f670f2cb0d31b6715df07bfd99f8ff398e63d162e1ed610d1bfd46dfc2

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

# Database foreign keys
require 'foreigner'
require 'carrierwave'
begin
  require 'sunspot_rails'
rescue LoadError
end

module Mailboxer
  class Engine < Rails::Engine
    initializer "mailboxer.models.messageable" do
      ActiveSupport.on_load(:active_record) do
        extend Mailboxer::Models::Messageable::ActiveRecord
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mailboxer-without-notification-0.11.2 lib/mailboxer/engine.rb
mailboxer-without-notification-0.11.1 lib/mailboxer/engine.rb