aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_text/attribute.rb
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2018-10-06 16:51:39 +0200
committerGitHub <noreply@github.com>2018-10-06 16:51:39 +0200
commit03647a3b7443eed0a11cd43d6cc327120e59f6a1 (patch)
tree0edecf5b2d4ab011c161ad98eb7d241db53a7a88 /lib/action_text/attribute.rb
parent33f940f1407870f451e19c479f816edaf9ab0c1e (diff)
downloadrails-03647a3b7443eed0a11cd43d6cc327120e59f6a1.tar.gz
rails-03647a3b7443eed0a11cd43d6cc327120e59f6a1.tar.bz2
rails-03647a3b7443eed0a11cd43d6cc327120e59f6a1.zip
Fix minor typo in code comment
Diffstat (limited to 'lib/action_text/attribute.rb')
-rw-r--r--lib/action_text/attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_text/attribute.rb b/lib/action_text/attribute.rb
index 992a6a410a..2d520fa541 100644
--- a/lib/action_text/attribute.rb
+++ b/lib/action_text/attribute.rb
@@ -20,7 +20,7 @@ module ActionText
# If you wish to preload the dependent RichText model, you can use the named scope:
#
# Message.all.with_rich_text_content # Avoids N+1 queries when you just want the body, not the attachments.
- # Message.all.with_rich_text_content_and_emebds # Avoids N+1 queries when you just want the body and attachments.
+ # Message.all.with_rich_text_content_and_embeds # Avoids N+1 queries when you just want the body and attachments.
def has_rich_text(name)
class_eval <<-CODE, __FILE__, __LINE__ + 1
def #{name}