Sha256: 62f8bddfb66a93a57d936933c3b938e1062eb9cb097542cd0d536a6887a86423
Contents?: true
Size: 1.43 KB
Versions: 8
Compression:
Stored size: 1.43 KB
Contents
# https://edgeguides.rubyonrails.org/action_text_overview.html gems: - activesupport - activerecord - activestorage - actionpack keep: # https://edgeguides.rubyonrails.org/action_text_overview.html#rendering-attachments - to_attachable_partial_path dynamic: # https://edgeapi.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-rich_text_area - name: rich_text_area has_receiver: true calls: argument: 0 transforms: - original - add_suffix: '=' - name: rich_text_area unless: has_receiver: true calls: - argument: 1 transforms: - original - add_suffix: '=' - argument: 0 add_prefix: '@' # https://edgeapi.rubyonrails.org/classes/ActionText/Attribute.html#method-i-has_rich_text - name: has_rich_text defines: argument: 0 transforms: # defines its own methods - original - add_suffix: '?' - add_suffix: '=' # some scopes - add_prefix: with_rich_text_ - { add_prefix: with_rich_text_, add_suffix: _and_embeds } # and has_one with this prefix - add_prefix: rich_text_ transforms: # these are copied from has_one - original - add_suffix: '=' - add_prefix: build_ - add_prefix: create_ - { add_prefix: create_, add_suffix: '!' } - add_prefix: reload_
Version data entries
8 entries across 8 versions & 1 rubygems