Sha256: d4eb9b979d87bf792ca1af772c4859395cb7d1a83cbce919059247642d78cb9f

Contents?: true

Size: 345 Bytes

Versions: 4

Compression:

Stored size: 345 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
        include Mailboxer::Models::Messageable
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mailboxer-0.10.0 lib/mailboxer/engine.rb
mailboxer-0.9.0 lib/mailboxer/engine.rb
mailboxer-0.8.0 lib/mailboxer/engine.rb
mailboxer-0.7.0 lib/mailboxer/engine.rb