aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_text/attribute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_text/attribute.rb')
-rw-r--r--lib/active_text/attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_text/attribute.rb b/lib/active_text/attribute.rb
index 9d872a87a1..9f3ee49998 100644
--- a/lib/active_text/attribute.rb
+++ b/lib/active_text/attribute.rb
@@ -3,7 +3,7 @@ module ActiveText
extend ActiveSupport::Concern
class_methods do
- def active_text_attribute(attribute_name)
+ def has_rich_text(attribute_name)
serialize(attribute_name, ActiveText::Content)
has_many_attached "#{attribute_name}_attachments"