Sha256: ea08afee25cef033e173f02c716accc4ca1442cba81491c4578eac3b371bbea8

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

# Database foreign keys
require 'foreigner' if Rails.version < "4.2.0"
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::ActiveRecordExtension
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mailboxer-0.13.0 lib/mailboxer/engine.rb