From f1d74871e7f00e8bbde3501a759487ac8cc4c3fc Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 13 Apr 2018 16:23:04 -0700 Subject: Rename from Active Text to Action Text This is more like Action View than Active Model. --- lib/action_text.rb | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lib/action_text.rb (limited to 'lib/action_text.rb') diff --git a/lib/action_text.rb b/lib/action_text.rb new file mode 100644 index 0000000000..0559dce2ba --- /dev/null +++ b/lib/action_text.rb @@ -0,0 +1,35 @@ +require "active_record" +require "action_text/engine" +require "nokogiri" + +module ActionText + extend ActiveSupport::Autoload + + mattr_accessor(:renderer) + + autoload :Attachable + autoload :Attachment + autoload :Attribute + 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 -- cgit v1.2.3