aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_text.rb
diff options
context:
space:
mode:
authorSam Stephenson <sam@37signals.com>2018-02-07 18:26:19 -0600
committerSam Stephenson <sam@37signals.com>2018-02-07 18:26:19 -0600
commit68d350ddacedf604717f0d1074d7624fa57757c2 (patch)
treea01852130448e37368ed2fd4af7e930e6c2cd0f2 /lib/active_text.rb
parente22ba227a694b8426e69dbce640c5b0e4f39f574 (diff)
downloadrails-68d350ddacedf604717f0d1074d7624fa57757c2.tar.gz
rails-68d350ddacedf604717f0d1074d7624fa57757c2.tar.bz2
rails-68d350ddacedf604717f0d1074d7624fa57757c2.zip
Initial import from BC3 RichText
Diffstat (limited to 'lib/active_text.rb')
-rw-r--r--lib/active_text.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/active_text.rb b/lib/active_text.rb
index e6384020f1..e9dfaeefe4 100644
--- a/lib/active_text.rb
+++ b/lib/active_text.rb
@@ -1,5 +1,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