mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixes Options documention formatting for has_rich_text
This commit is contained in:
parent
2189d97a2a
commit
e9cf3e4e1c
1 changed files with 3 additions and 3 deletions
|
@ -26,10 +26,10 @@ module ActionText
|
|||
# Message.all.with_rich_text_content_and_embeds # Avoids N+1 queries when you just want the body and attachments.
|
||||
# Message.all.with_all_rich_text # Loads all rich text associations.
|
||||
#
|
||||
# === Options
|
||||
# ==== Options
|
||||
#
|
||||
# * <tt>:encrypted</tt> - Pass true to encrypt the rich text attribute. The encryption will be non-deterministic. See
|
||||
# +ActiveRecord::Encryption::EncryptableRecord.encrypts+. Default: false.
|
||||
# * <tt>:encrypted</tt> - Pass true to encrypt the rich text attribute. The encryption will be non-deterministic. See
|
||||
# +ActiveRecord::Encryption::EncryptableRecord.encrypts+. Default: false.
|
||||
def has_rich_text(name, encrypted: false)
|
||||
class_eval <<-CODE, __FILE__, __LINE__ + 1
|
||||
def #{name}
|
||||
|
|
Loading…
Reference in a new issue