aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavan Makhmali <javan@javan.us>2018-10-06 12:11:46 -0400
committerGitHub <noreply@github.com>2018-10-06 12:11:46 -0400
commit5a8e37f71549d839f97ef71b29f996c563af2289 (patch)
tree61e48fd98e6807ee8e5accf10dcabd3aad0de3d7
parentba97db849cd34a83c05234572d3d7261864c1782 (diff)
parent03647a3b7443eed0a11cd43d6cc327120e59f6a1 (diff)
downloadrails-5a8e37f71549d839f97ef71b29f996c563af2289.tar.gz
rails-5a8e37f71549d839f97ef71b29f996c563af2289.tar.bz2
rails-5a8e37f71549d839f97ef71b29f996c563af2289.zip
Merge pull request #18 from vendethiel/patch-1
Fix minor typo in code comment
-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}