Sha256: 47c5a09ccc10404154483160c20dc29d240cb3f5533fdb29fa3b72a049e63212

Contents?: true

Size: 359 Bytes

Versions: 5

Compression:

Stored size: 359 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

5 entries across 5 versions & 2 rubygems

Version Path
mailboxer-0.10.3 lib/mailboxer/engine.rb
curationexperts-mailboxer-0.10.3 lib/mailboxer/engine.rb
curationexperts-mailboxer-0.10.3.rc1 lib/mailboxer/engine.rb
mailboxer-0.10.2 lib/mailboxer/engine.rb
mailboxer-0.10.1 lib/mailboxer/engine.rb