instance method
rich_text_association_names
Ruby on Rails 8.0.4
Since v7.0.10Signature
rich_text_association_names()
Returns the names of all rich text associations.
Source
# File actiontext/lib/action_text/attribute.rb, line 100
def rich_text_association_names
reflect_on_all_associations(:has_one).collect(&:name).select { |n| n.start_with?("rich_text_") }
end
Defined in actiontext/lib/action_text/attribute.rb line 100
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attribute