aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_text.rb
blob: e9dfaeefe4b46bb81566520fefd6e2a516dc6f1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require "active_record"
require "active_text/engine"
require "nokogiri"

module ActiveText
  extend ActiveSupport::Autoload

  autoload :Attachable
  autoload :Attachment
  autoload :Content
  autoload :Fragment
  autoload :HtmlConversion
  autoload :PlainTextConversion
  autoload :Serialization
  autoload :TrixAttachment

  module Attachables
    extend ActiveSupport::Autoload

    autoload :ContentAttachment
    autoload :MissingAttachable
    autoload :RemoteImage
  end

  module Attachments
    extend ActiveSupport::Autoload

    autoload :Caching
    autoload :Minification
    autoload :TrixConversion
  end
end