class method
self.process_attributes
Ruby on Rails 8.1.2
Since v6.0.6 PrivateSignature
self.process_attributes(attributes)
No documentation comment.
Parameters
-
attributesreq
Source
# File actiontext/lib/action_text/attachment.rb, line 58
def process_attributes(attributes)
attributes.transform_keys { |key| key.to_s.underscore.dasherize }.slice(*ATTRIBUTES)
end
Defined in actiontext/lib/action_text/attachment.rb line 58
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attachment